File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ name: CI
33on : [push, pull_request]
44
55permissions :
6- contents : read
7- id-token : write
6+ actions : read # Allow upload-sarif to get the action run status
7+ contents : read # Required for actions/checkout
8+ id-token : write # Required for requesting the OIDC token
9+ security-events : write # Allow upload-sarif to upload the SARIF file
810
911jobs :
1012 test-typescript :
2527 - name : ' Test'
2628 run : npm run test
2729 - uses : Workiva/gha-upload-test-reports@v2.0.7
28- # test-action:
29- # runs-on: [self-hosted, dev-small]
30- # steps:
31- # - uses: actions/checkout@v4
32- # - name: 'Test local action'
33- # uses: ./
30+ test-action :
31+ runs-on : [self-hosted, dev-small]
32+ steps :
33+ - uses : actions/checkout@v4
34+ - name : ' Test local action'
35+ uses : ./
Original file line number Diff line number Diff line change 1414 - name : ' Set up Node'
1515 uses : actions/setup-node@v4
1616 with :
17- node-version-file : .node-version
17+ node-version : ' 20.10.0 '
1818 - name : ' Generate SARIF file'
1919 run : node '${{ github.action_path }}/dist/index.js'
2020 env :
You can’t perform that action at this time.
0 commit comments