Skip to content

Commit

Permalink
CICD-3007: upgrade actions to node 20 (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
saars-orca authored Jun 13, 2024
1 parent c74c9fa commit 71210fd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-iac-action-sarif.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
security-events: write
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # ratchet:actions/checkout@v4
- name: Scan IaC
id: orcasecurity_iac_scan
uses: ./
Expand All @@ -25,7 +25,7 @@ jobs:
output: "results/"
console_output: "cli"
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@ceaec5c11a131e0d282ff3b6f095917d234caace # ratchet:github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # ratchet:github/codeql-action/upload-sarif@v3
if: ${{ always() && steps.orcasecurity_iac_scan.outputs.exit_code != 1 }}
with:
sarif_file: results/iac.sarif
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-iac-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
iac_scan_job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # ratchet:actions/checkout@v4
- name: Scan IaC
uses: ./
with:
Expand All @@ -19,7 +19,7 @@ jobs:
format: "json"
output: "results/"
console_output: "cli"
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # ratchet:actions/upload-artifact@v3
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # ratchet:actions/upload-artifact@v4
if: always()
with:
name: orca-results
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
steps:
# Checkout your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run Orca IaC Scan
uses: orcasecurity/shiftleft-iac-action@v1
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
PROJECT_KEY: <project key> # Set the desired project to run the cli scanning with
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run Orca IaC Scan
id: orcasecurity_iac_scan
Expand All @@ -129,7 +129,7 @@ jobs:
output:
"results/"
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
if: ${{ always() && steps.orcasecurity_iac_scan.outputs.exit_code != 1 }}
with:
sarif_file: results/iac.sarif
Expand Down
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@ inputs:
required: false

outputs:
exit_code:
description: "The status of the scan"
exit_code:
description: "The status of the scan"

0 comments on commit 71210fd

Please sign in to comment.