File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88# This will run standard CI for Node.js/npm/TypeScript projects.
99
1010name : CI-Node
11- permissions :
12- contents : write # required for release_setup action
11+ permissions : {}
1312
1413on :
14+ pull_request :
1515 push :
1616 branches :
1717 - master
18- pull_request :
1918
2019concurrency :
2120 group : " ${{ github.workflow }}-${{ github.ref }}"
2625 name : CI-Node
2726 uses : LizardByte/.github/.github/workflows/__call-ci-node.yml@master
2827 if : ${{ github.repository != 'LizardByte/.github' }}
28+ permissions :
29+ contents : write # required for release_setup action
2930 secrets :
3031 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
3132 GH_TOKEN : ${{ secrets.GH_BOT_TOKEN }}
Original file line number Diff line number Diff line change 44# the above-mentioned repo.
55
66name : CodeQL
7- permissions :
8- actions : read
9- contents : read
10- security-events : write
7+ permissions : {}
118
129on :
10+ pull_request :
1311 push :
1412 branches :
1513 - master
16- pull_request :
1714 schedule :
1815 - cron : ' 00 12 * * 0' # every Sunday at 12:00 UTC
1916
2623 name : CodeQL
2724 uses : LizardByte/.github/.github/workflows/__call-codeql.yml@master
2825 if : ${{ github.repository != 'LizardByte/.github' }}
26+ permissions :
27+ actions : read
28+ contents : read
29+ security-events : write
Original file line number Diff line number Diff line change 44# the above-mentioned repo.
55
66name : common lint
7- permissions :
8- contents : read
7+ permissions : {}
98
109on :
1110 pull_request :
1918 name : Common Lint
2019 uses : LizardByte/.github/.github/workflows/__call-common-lint.yml@master
2120 if : ${{ github.repository != 'LizardByte/.github' }}
21+ permissions :
22+ contents : read
Original file line number Diff line number Diff line change 1+ ---
2+ # This workflow is centrally managed in https://github.com/LizardByte/.github/
3+ # Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
4+ # the above-mentioned repo.
5+
6+ # To use, add the `npm-pkg` repository label to identify repositories that should trigger this workflow.
7+
8+ # Update NPM packages on release events.
9+
10+ name : Update NPM
11+ permissions : {}
12+
13+ on :
14+ release :
15+ types :
16+ - released
17+
18+ concurrency :
19+ group : " ${{ github.workflow }}-${{ github.event.release.tag_name }}"
20+ cancel-in-progress : true
21+
22+ jobs :
23+ update-npm :
24+ name : Update NPM
25+ uses : LizardByte/.github/.github/workflows/__call-update-npm.yml@master
26+ if : github.repository_owner == 'LizardByte'
27+ permissions :
28+ contents : read
29+ id-token : write # required for provenance and OIDC
30+ packages : write
31+ with :
32+ release_version : ${{ github.event.release.tag_name }}
You can’t perform that action at this time.
0 commit comments