Skip to content

Commit 93abf88

Browse files
authored
Merge pull request #1133 from git-for-windows/dependabot/npm_and_yarn/eslint-plugin-github-6.0.0
build(deps-dev): bump eslint-plugin-github from 5.1.5 to 6.0.0
2 parents f3080a9 + da63717 commit 93abf88

File tree

4 files changed

+71
-36
lines changed

4 files changed

+71
-36
lines changed

__mocks__/@octokit/rest.js

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
module.exports = {
2+
__esModule: true,
3+
Octokit: jest.fn().mockImplementation(() => {
4+
return {
5+
actions: {
6+
listWorkflowRuns: jest.fn().mockResolvedValue({
7+
data: {
8+
workflow_runs: [
9+
{
10+
head_sha: 'mock_sha'
11+
}
12+
]
13+
}
14+
}),
15+
listWorkflowRunArtifacts: jest.fn().mockResolvedValue({
16+
data: {
17+
artifacts: [
18+
{
19+
name: 'git-sdk-64-build-installers',
20+
id: 12345,
21+
created_at: '2025-08-12T12:00:00Z'
22+
}
23+
]
24+
}
25+
}),
26+
downloadArtifact: jest.fn().mockResolvedValue({
27+
data: 'mock artifact content'
28+
})
29+
},
30+
repos: {
31+
getBranch: jest.fn().mockResolvedValue({
32+
data: {
33+
commit: {
34+
sha: 'mock_sha'
35+
}
36+
}
37+
}),
38+
listReleases: jest.fn().mockResolvedValue({
39+
data: [
40+
{
41+
tag_name: 'v2.41.0.windows.1',
42+
assets: [
43+
{
44+
name: 'git-sdk-64-build-installers.7z',
45+
browser_download_url: 'https://example.com/git-sdk-64-build-installers.7z'
46+
}
47+
]
48+
}
49+
]
50+
})
51+
}
52+
}
53+
})
54+
}

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default tseslint.config([
7474
"eslint-comments/no-use": "off",
7575
"github/filenames-match-regex": ["error", "^[a-z_]+(\\.test|\\.d)?$"],
7676
"i18n-text/no-en": "off",
77-
"importPlugin/no-namespace": "off",
77+
"import/no-namespace": "off",
7878
"no-unused-vars": "off",
7979
semi: "off",
8080
},

package-lock.json

Lines changed: 15 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@vercel/ncc": "^0.38.3",
4747
"eslint": "^9.29.0",
4848
"eslint-plugin-anti-trojan-source": "^1.1.1",
49-
"eslint-plugin-github": "^5.1.5",
49+
"eslint-plugin-github": "^6.0.0",
5050
"eslint-plugin-jest": "^29.0.1",
5151
"eslint-plugin-prettier": "^5.4.1",
5252
"globals": "^16.2.0",

0 commit comments

Comments
 (0)