File tree Expand file tree Collapse file tree 7 files changed +31
-8
lines changed
Expand file tree Collapse file tree 7 files changed +31
-8
lines changed Original file line number Diff line number Diff line change 1111 - ' !dependabot/**'
1212 workflow_dispatch :
1313
14+ permissions :
15+ contents : read
16+
1417jobs :
1518 analyze :
1619 name : Analyze
Original file line number Diff line number Diff line change @@ -3,10 +3,16 @@ name: Pull Request Labeler
33on :
44 - pull_request_target
55
6+ permissions :
7+ contents : read
8+
69jobs :
710 triage :
11+ permissions :
12+ contents : read # for actions/labeler to determine modified files
13+ pull-requests : write # for actions/labeler to add labels to PRs
814 runs-on : ubuntu-latest
915 steps :
10- - uses : actions/labeler@v6
16+ - uses : actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
1117 with :
1218 repo-token : ' ${{ secrets.GITHUB_TOKEN }}'
Original file line number Diff line number Diff line change 66 - published
77 workflow_dispatch :
88
9+ permissions :
10+ contents : read
11+
912jobs :
1013 build :
1114 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 3030 persist-credentials : false
3131
3232 - name : Super-linter
33- uses :
super-linter/super-linter/[email protected] 33+ uses : super-linter/super-linter/slim@ffde3b2b33b745cb612d787f669ef9442b1339a6 # v8.1.0
3434 env :
3535 DEFAULT_BRANCH : main
3636 FILTER_REGEX_EXCLUDE : ' /test/'
4646 VALIDATE_CSS_PRETTIER : false
4747 VALIDATE_EDITORCONFIG : false
4848 VALIDATE_GIT_COMMITLINT : false
49- VALIDATE_GITHUB_ACTIONS_ZIZMOR : false
5049 VALIDATE_HTML : false
5150 VALIDATE_HTML_PRETTIER : false
5251 VALIDATE_JAVASCRIPT_ES : false
Original file line number Diff line number Diff line change 1717 with :
1818 persist-credentials : false
1919
20- - uses : micnncim/action-label-syncer@v1
20+ - uses : micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0
2121 with :
2222 token : ${{ secrets.GITHUB_TOKEN }}
2323 repository : ${{ github.repository }}
Original file line number Diff line number Diff line change 99 - ' **/*.md'
1010 - ' **/*.mdx'
1111
12+ permissions :
13+ contents : read
14+
1215jobs :
1316 lint :
1417 runs-on : ubuntu-latest
3033 run : npm run lint
3134
3235 build :
36+ permissions :
37+ actions : write # for styfle/cancel-workflow-action to cancel/stop running workflows
38+ contents : read # for actions/checkout to fetch code
3339 runs-on : ${{ matrix.os }}
3440 needs : lint
3541 strategy :
4349
4450 steps :
4551 - name : 🛑 Cancel Previous Runs
46- 52+ uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
4753 with :
4854 access_token : ${{ secrets.GITHUB_TOKEN }}
4955
@@ -69,23 +75,23 @@ jobs:
6975
7076 - name : Run tests
7177 if : matrix.os != 'ubuntu-latest'
72- uses : nick-invision/retry@v3
78+ uses : nick-invision/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
7379 with :
7480 timeout_minutes : 20
7581 max_attempts : 3
7682 command : npm run test
7783
7884 - name : Run coverage
7985 if : matrix.node == '20' && matrix.os == 'ubuntu-latest'
80- uses : nick-invision/retry@v3
86+ uses : nick-invision/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
8187 with :
8288 timeout_minutes : 20
8389 max_attempts : 3
8490 command : npm run test:coverage
8591
8692 - name : ⬆️ Upload coverage to Codecov
8793 if : matrix.node == '20' && matrix.os == 'ubuntu-latest'
88- uses : codecov/codecov-action@v5
94+ uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
8995 with :
9096 files : ./coverage/coverage-final.json
9197 name : codecov-dev
Original file line number Diff line number Diff line change 1313 - .github/workflows/website.yml
1414 workflow_dispatch :
1515
16+ permissions :
17+ contents : read
18+
1619jobs :
1720 build :
21+ permissions :
22+ contents : read # for actions/checkout to fetch code
23+ security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
1824 runs-on : ubuntu-latest
1925 steps :
2026 - name : ⬇️ Checkout
You can’t perform that action at this time.
0 commit comments