Skip to content

Commit b9be799

Browse files
build(deps): bump super-linter/super-linter from 7.4.0 to 8.3.0 (#62)
* build(deps): bump super-linter/super-linter from 7.4.0 to 8.3.0 Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 7.4.0 to 8.3.0. - [Release notes](https://github.com/super-linter/super-linter/releases) - [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md) - [Commits](super-linter/super-linter@1215045...502f4fe) --- updated-dependencies: - dependency-name: super-linter/super-linter dependency-version: 8.3.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * ci: disable some linters * chore: add file extensions to imports * chore: clear zizmor audit * chore: more cleaner --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Sanders <[email protected]>
1 parent 5b5e8f6 commit b9be799

File tree

9 files changed

+22
-10
lines changed

9 files changed

+22
-10
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "monthly"
7+
cooldown:
8+
default-days: 7
79
groups:
810
actions-minor:
911
update-types:

.github/linters/.eslintrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ rules:
4040
'eslint-comments/no-unused-disable': 'off',
4141
'i18n-text/no-en': 'off',
4242
'import/no-namespace': 'off',
43+
'import/no-unresolved': 'off',
4344
'no-console': 'off',
4445
'no-unused-vars': 'off',
4546
'prettier/prettier': 'error',

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ jobs:
211211
- name: Switch back to base branch
212212
env:
213213
BRANCH: ${{ steps.branch-name.outputs.BRANCH }}
214-
run: git switch $BRANCH
214+
run: git switch "$BRANCH"
215215

216216
- name: Make changes to commit and stage them
217217
run: |

.github/workflows/linter.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,17 @@ jobs:
3939

4040
- name: Lint Codebase
4141
id: super-linter
42-
uses: super-linter/super-linter/slim@12150456a73e248bdc94d0794898f94e23127c88 # v7.4.0
42+
uses: super-linter/super-linter/slim@502f4fe48a81a392756e173e39a861f8c8efe056 # v8.3.0
4343
env:
4444
DEFAULT_BRANCH: main
4545
FILTER_REGEX_EXCLUDE: dist/**/*
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
TYPESCRIPT_DEFAULT_STYLE: prettier
4848
VALIDATE_ALL_CODEBASE: true
49+
VALIDATE_BIOME_FORMAT: false
50+
VALIDATE_BIOME_LINT: false
51+
VALIDATE_GITHUB_ACTIONS: false
4952
VALIDATE_JAVASCRIPT_STANDARD: false
5053
VALIDATE_JSCPD: false
54+
VALIDATE_TYPESCRIPT_ES: false
5155
VALIDATE_TYPESCRIPT_STANDARD: false

__tests__/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
*/
44
import { describe, expect, it, vi } from 'vitest';
55

6-
import * as main from '../src/main';
6+
import * as main from '../src/main.js';
77

88
// Mock the action's entrypoint
99
const runMock = vi.spyOn(main, 'run').mockImplementation(async () => {});
1010

1111
describe('index', () => {
1212
it('calls run when imported', async () => {
13-
await import('../src/index');
13+
await import('../src/index.js');
1414

1515
expect(runMock).toHaveBeenCalled();
1616
});

__tests__/lib.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { beforeEach, describe, expect, it, vi } from 'vitest';
33
import * as core from '@actions/core';
44
import * as exec from '@actions/exec';
55

6-
import * as lib from '../src/lib';
6+
import * as lib from '../src/lib.js';
77

88
vi.mock('@actions/core');
99
vi.mock('@actions/exec');

__tests__/main.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import * as fs from 'node:fs';
55
import * as core from '@actions/core';
66
import { RequestError } from '@octokit/request-error';
77

8-
import * as lib from '../src/lib';
9-
import * as main from '../src/main';
10-
import { mockGetBooleanInput, mockGetInput } from './utils';
8+
import * as lib from '../src/lib.js';
9+
import * as main from '../src/main.js';
10+
import { mockGetBooleanInput, mockGetInput } from './utils.js';
1111

1212
const createCommit = vi.fn();
1313
const createRef = vi.fn();

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* The entrypoint for the action.
33
*/
4-
import { run } from './main';
4+
import { run } from './main.js';
55

66
// eslint-disable-next-line @typescript-eslint/no-floating-promises
77
run();

src/main.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ import * as github from '@actions/github';
88
import { RequestError } from '@octokit/request-error';
99
import type { Endpoints } from '@octokit/types';
1010

11-
import { getHeadRef, getHeadSha, getHeadTreeHash, getStagedFiles } from './lib';
11+
import {
12+
getHeadRef,
13+
getHeadSha,
14+
getHeadTreeHash,
15+
getStagedFiles
16+
} from './lib.js';
1217

1318
type GitHubGitTreeType =
1419
Endpoints['POST /repos/{owner}/{repo}/git/trees']['parameters']['tree'];

0 commit comments

Comments
 (0)