Skip to content

Commit ce15ca3

Browse files
authored
Update eslint.yml
1 parent 049a603 commit ce15ca3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/eslint.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,18 @@ on:
1818
schedule:
1919
- cron: '18 22 * * 0'
2020

21+
permissions:
22+
contents: read
23+
security-events: write
24+
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
25+
2126
jobs:
2227
eslint:
2328
name: Run eslint scanning
2429
runs-on: ubuntu-latest
25-
permissions:
26-
contents: read
27-
security-events: write
28-
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
2930
steps:
3031
- name: Checkout code
31-
uses: actions/checkout@v3
32+
uses: actions/checkout@4.2.2
3233

3334
- name: Install ESLint
3435
run: |
@@ -46,7 +47,7 @@ jobs:
4647
continue-on-error: true
4748

4849
- name: Upload analysis results to GitHub
49-
uses: github/codeql-action/upload-sarif@v3
50+
uses: github/codeql-action/upload-sarif@3.28.15
5051
with:
5152
sarif_file: eslint-results.sarif
5253
wait-for-processing: true

0 commit comments

Comments
 (0)