Skip to content

Commit 7224de0

Browse files
Update pipeline-scan-py.yml
1 parent 15c6bdb commit 7224de0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/pipeline-scan-py.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# The type of runner that the job will run on
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v5
2222

2323
# zip the project and move it to a staging directory
2424
- name: Zip Project
@@ -27,7 +27,7 @@ jobs:
2727
build-name: project.zip
2828

2929
- name: Archive package
30-
uses: actions/upload-artifact@v2
30+
uses: actions/upload-artifact@v4
3131
with:
3232
name: CodePackage
3333
path: project.zip
@@ -41,7 +41,7 @@ jobs:
4141

4242
steps:
4343
- name: Retrieve artifact
44-
uses: actions/download-artifact@v2
44+
uses: actions/download-artifact@v4
4545
with:
4646
name: CodePackage
4747
path: /github/home
@@ -53,7 +53,7 @@ jobs:
5353
java -jar /opt/veracode/pipeline-scan.jar --veracode_api_id="${{secrets.VERACODE_API_ID}}" --veracode_api_key="${{secrets.VERACODE_API_KEY}}" --fail_on_severity="Very High, High" --file="project.zip" --app_id="${{secrets.VERACODE_APP_ID}}" --json_output_file="results.json" --project_name ${{github.event.repository.name}} --project_url ${{github.event.repository.url}} --project_ref ${{github.sha}}
5454
continue-on-error: true
5555

56-
- uses: actions/upload-artifact@v2
56+
- uses: actions/upload-artifact@v4
5757
with:
5858
name: ScanResults
5959
path: /github/home/results.json
@@ -65,7 +65,7 @@ jobs:
6565
steps:
6666

6767
- name: Retrieve results
68-
uses: actions/download-artifact@v2
68+
uses: actions/download-artifact@v4
6969
with:
7070
name: ScanResults
7171

@@ -83,7 +83,7 @@ jobs:
8383
opensource-scan:
8484
runs-on: ubuntu-latest
8585
steps:
86-
- uses: actions/checkout@v2
86+
- uses: actions/checkout@v5
8787
- name: SCA Agent scan
8888
env: # Set the secret as an input
8989
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }}

0 commit comments

Comments
 (0)