Skip to content

Commit 457b881

Browse files
Merge pull request #371 from bcgov/security/GRAD2-2984-sonar
git actions change.
2 parents 2855626 + 0f5f0c3 commit 457b881

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

.github/workflows/build.from.main.branch.deploy.to.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
steps:
4343
- name: Check out repository
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v4
4545

4646
- name: Determine image tags
4747
if: env.TAG == ''

.github/workflows/build.from.release.branch.deploy.to.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
steps:
5050
- name: Check out repository
51-
uses: actions/checkout@v3
51+
uses: actions/checkout@v4
5252
with:
5353
ref: grad-release
5454

.github/workflows/create_tag.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535

3636
steps:
3737
- name: Check out repository
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v4
3939

4040
- name: Create tag
41-
uses: actions/github-script@v5
41+
uses: actions/github-script@v7
4242
with:
4343
script: |
4444
github.rest.git.createRef({
@@ -54,7 +54,7 @@ jobs:
5454
oc: 4
5555

5656
# https://github.com/redhat-actions/oc-login#readme
57-
- uses: actions/checkout@v2
57+
- uses: actions/checkout@v4
5858
- name: Tag in OpenShift
5959
run: |
6060
set -eux

.github/workflows/deploy.to.dev.jinil.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
steps:
4343
- name: Check out repository
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v4
4545
with:
4646
ref: develop/jinil
4747

.github/workflows/deploy_prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
steps:
3939
- name: Check out repository
40-
uses: actions/checkout@v3
40+
uses: actions/checkout@v4
4141

4242
- name: Get latest tag
4343
uses: actions-ecosystem/action-get-latest-tag@v1

.github/workflows/deploy_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
steps:
3939
- name: Check out repository
40-
uses: actions/checkout@v3
40+
uses: actions/checkout@v4
4141

4242
- name: Get latest tag
4343
uses: actions-ecosystem/action-get-latest-tag@v1

.github/workflows/on.pr.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ jobs:
1717
working-directory: api
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2323
- name: Set up JDK 18
24-
uses: actions/setup-java@v1
24+
uses: actions/setup-java@v4
2525
with:
26+
distribution: 'corretto'
2627
java-version: 18
2728
- uses: actions/cache@v1
2829
with:
@@ -42,7 +43,7 @@ jobs:
4243
severity: 'CRITICAL'
4344

4445
- name: Upload Trivy scan results to GitHub Security tab
45-
uses: github/codeql-action/upload-sarif@v2
46+
uses: github/codeql-action/upload-sarif@v3
4647
with:
4748
sarif_file: 'trivy-results.sarif'
4849
- name: Cache SonarCloud packages

0 commit comments

Comments
 (0)