Skip to content

Commit fe5d4da

Browse files
authored
Update workflow files (#18)
* Update workflow files to point to this new version * Pin and update workflows
1 parent 75532bf commit fe5d4da

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/osv-scanner-reusable-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: "Checkout target branch"
5555
run: git checkout $GITHUB_BASE_REF
5656
- name: "Run scanner on existing code"
57-
uses: google/osv-scanner-action/[email protected].1
57+
uses: google/osv-scanner-action/osv-scanner-action@75532bf0bf75464b047d80414dbce04449498365 # v1.7.3
5858
continue-on-error: true
5959
with:
6060
scan-args: |-
@@ -64,15 +64,15 @@ jobs:
6464
- name: "Checkout current branch"
6565
run: git checkout $GITHUB_SHA
6666
- name: "Run scanner on new code"
67-
uses: google/osv-scanner-action/[email protected].1
67+
uses: google/osv-scanner-action/osv-scanner-action@75532bf0bf75464b047d80414dbce04449498365 # v1.7.3
6868
with:
6969
scan-args: |-
7070
--format=json
7171
--output=new-results.json
7272
${{ inputs.scan-args }}
7373
continue-on-error: true
7474
- name: "Run osv-scanner-reporter"
75-
uses: google/osv-scanner-action/[email protected].1
75+
uses: google/osv-scanner-action/osv-reporter-action@75532bf0bf75464b047d80414dbce04449498365 # v1.7.3
7676
with:
7777
scan-args: |-
7878
--output=${{ inputs.results-file-name }}

.github/workflows/osv-scanner-reusable.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ jobs:
6262
name: "${{ inputs.download-artifact }}"
6363
path: "./"
6464
- name: "Run scanner"
65-
uses: google/osv-scanner-action/[email protected].1
65+
uses: google/osv-scanner-action/osv-scanner-action@75532bf0bf75464b047d80414dbce04449498365 # v1.7.3
6666
with:
6767
scan-args: |-
6868
--output=results.json
6969
--format=json
7070
${{ inputs.scan-args }}
7171
continue-on-error: true
7272
- name: "Run osv-scanner-reporter"
73-
uses: google/osv-scanner-action/[email protected].1
73+
uses: google/osv-scanner-action/osv-reporter-action@75532bf0bf75464b047d80414dbce04449498365 # v1.7.3
7474
with:
7575
scan-args: |-
7676
--output=${{ inputs.results-file-name }}

.github/workflows/osv-scanner-unified-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ permissions:
3333
jobs:
3434
scan-scheduled:
3535
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
36-
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
36+
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@75532bf0bf75464b047d80414dbce04449498365" # v1.7.3
3737
with:
3838
# Example of specifying custom arguments
3939
scan-args: |-
@@ -42,7 +42,7 @@ jobs:
4242
./
4343
scan-pr:
4444
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}
45-
uses: "google/osv-scanner-action/.github/workflows/[email protected].1"
45+
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@75532bf0bf75464b047d80414dbce04449498365" # v1.7.3
4646
with:
4747
# Example of specifying custom arguments
4848
scan-args: |-

0 commit comments

Comments
 (0)