Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate-bot committed Jul 26, 2024
1 parent 7ac94f9 commit 3f1a24c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/osv-scanner-reusable-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: "Checkout target branch"
run: git checkout $GITHUB_BASE_REF
- name: "Run scanner on existing code"
uses: google/osv-scanner-action/osv-scanner-action@f8af5221bae5d45891ae7a23c2f3d0c938334355 # v1.8.2
uses: google/osv-scanner-action/osv-scanner-action@7ac94f9d40028db4cacf8d53adec6626f5d3d2f7 # v1.8.2
continue-on-error: true
with:
scan-args: |-
Expand All @@ -66,15 +66,15 @@ jobs:
- name: "Checkout current branch"
run: git checkout $GITHUB_SHA
- name: "Run scanner on new code"
uses: google/osv-scanner-action/osv-scanner-action@f8af5221bae5d45891ae7a23c2f3d0c938334355 # v1.8.2
uses: google/osv-scanner-action/osv-scanner-action@7ac94f9d40028db4cacf8d53adec6626f5d3d2f7 # v1.8.2
with:
scan-args: |-
--format=json
--output=new-results.json
${{ inputs.scan-args }}
continue-on-error: true
- name: "Run osv-scanner-reporter"
uses: google/osv-scanner-action/osv-reporter-action@f8af5221bae5d45891ae7a23c2f3d0c938334355 # v1.8.2
uses: google/osv-scanner-action/osv-reporter-action@7ac94f9d40028db4cacf8d53adec6626f5d3d2f7 # v1.8.2
with:
scan-args: |-
--output=${{ inputs.results-file-name }}
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: "Upload to code-scanning"
id: "upload_artifact"
if: ${{ !cancelled() && inputs.upload-sarif == true }}
uses: github/codeql-action/upload-sarif@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
with:
sarif_file: ${{ inputs.results-file-name }}
- name: "Error troubleshooter"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/osv-scanner-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ jobs:
name: "${{ inputs.download-artifact }}"
path: "./"
- name: "Run scanner"
uses: google/osv-scanner-action/osv-scanner-action@f8af5221bae5d45891ae7a23c2f3d0c938334355 # v1.8.2
uses: google/osv-scanner-action/osv-scanner-action@7ac94f9d40028db4cacf8d53adec6626f5d3d2f7 # v1.8.2
with:
scan-args: |-
--output=results.json
--format=json
${{ inputs.scan-args }}
continue-on-error: true
- name: "Run osv-scanner-reporter"
uses: google/osv-scanner-action/osv-reporter-action@f8af5221bae5d45891ae7a23c2f3d0c938334355 # v1.8.2
uses: google/osv-scanner-action/osv-reporter-action@7ac94f9d40028db4cacf8d53adec6626f5d3d2f7 # v1.8.2
with:
scan-args: |-
--output=${{ inputs.results-file-name }}
Expand All @@ -92,7 +92,7 @@ jobs:
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
if: "${{ !cancelled() && inputs.upload-sarif == true }}"
uses: github/codeql-action/upload-sarif@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
with:
sarif_file: ${{ inputs.results-file-name }}
- name: "Error troubleshooter"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/osv-scanner-unified-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ permissions:
jobs:
scan-scheduled:
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@f1f90c47a30be326ec08bf0e1633cab832421fe0" # v1.8.2
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@7ac94f9d40028db4cacf8d53adec6626f5d3d2f7" # v1.8.2
with:
# Example of specifying custom arguments
scan-args: |-
Expand All @@ -44,7 +44,7 @@ jobs:
./
scan-pr:
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@f1f90c47a30be326ec08bf0e1633cab832421fe0" # v1.8.2
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@7ac94f9d40028db4cacf8d53adec6626f5d3d2f7" # v1.8.2
with:
# Example of specifying custom arguments
scan-args: |-
Expand Down

0 comments on commit 3f1a24c

Please sign in to comment.