Skip to content

Commit f246f26

Browse files
Merge pull request #9 from Workiva/fix-0
CID-12231: Fix error
2 parents acb2d1c + 3746037 commit f246f26

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: CI
33
on: [push, pull_request]
44

55
permissions:
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

911
jobs:
1012
test-typescript:
@@ -25,9 +27,9 @@ jobs:
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: ./

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
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:

0 commit comments

Comments
 (0)