File tree Expand file tree Collapse file tree 10 files changed +23
-21
lines changed Expand file tree Collapse file tree 10 files changed +23
-21
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101
101
contents : read
102
102
steps :
103
103
- name : Checkout code
104
- uses : actions/checkout@v3
104
+ uses : actions/checkout@v4
105
105
106
106
- name : Set Variable
107
107
id : set-vars
@@ -116,7 +116,7 @@ jobs:
116
116
shell : bash
117
117
118
118
- name : Configure aws credentials
119
- uses : aws-actions/configure-aws-credentials@v2
119
+ uses : aws-actions/configure-aws-credentials@v4
120
120
with :
121
121
role-skip-session-tagging : true
122
122
role-to-assume : ${{ inputs.aws_iam_role_arn }}
@@ -133,7 +133,7 @@ jobs:
133
133
if : ${{ (inputs.docker_tag_name =='') && (inputs.ecr_image_name !='') && (inputs.aws_account_id != '') }}
134
134
135
135
- name : Docker Build and Push
136
- uses : docker/build-push-action@v2
136
+ uses : docker/build-push-action@v6
137
137
with :
138
138
context : ${{ inputs.docker_file_context }}
139
139
file : ${{ inputs.docker_file }}
Original file line number Diff line number Diff line change 52
52
steps :
53
53
# Check out source code
54
54
- name : Check Out Source Code
55
- uses : actions/checkout@v3
55
+ uses : actions/checkout@v4
56
56
with :
57
57
# Fetch at least the immediate parents so that if this is a pull request then we can checkout the head.
58
58
fetch-depth : 2
@@ -111,7 +111,7 @@ jobs:
111
111
112
112
# ## Clean up of build folder
113
113
- name : Save sourceanalyzer Logs
114
- uses : actions/upload-artifact@v2
114
+ uses : actions/upload-artifact@v4
115
115
if : failure()
116
116
with :
117
117
name : scancentral-logs
Original file line number Diff line number Diff line change @@ -41,13 +41,14 @@ jobs:
41
41
steps :
42
42
# Check out source code
43
43
- name : Check Out Source Code
44
- uses : actions/checkout@v3
44
+ uses : actions/checkout@v4
45
45
with :
46
46
# Fetch at least the immediate parents so that if this is a pull request then we can checkout the head.
47
47
fetch-depth : 2
48
48
- name : Setup Java
49
- uses : actions/setup-java@v1
49
+ uses : actions/setup-java@v4
50
50
with :
51
+ distribution : zulu
51
52
java-version : 11
52
53
# Pull SAST issues from Fortify on Demand and generate GitHub-optimized SARIF output
53
54
- name : Export Results
Original file line number Diff line number Diff line change 54
54
steps :
55
55
# Check out source code
56
56
- name : Check Out Source Code
57
- uses : actions/checkout@v3
57
+ uses : actions/checkout@v4
58
58
with :
59
59
# Fetch at least the immediate parents so that if this is a pull request then we can checkout the head.
60
60
fetch-depth : 2
66
66
# Java version to use depends on the Java version required to run your build (if any),
67
67
# and the Java version supported by the ScanCentral Client version that you are running
68
68
- name : Setup Java
69
- uses : actions/setup-java@v1
69
+ uses : actions/setup-java@v4
70
70
with :
71
+ distribution : zulu
71
72
java-version : 11
72
73
73
74
# ## Set up Fortify ScanCentral Client ###
93
94
94
95
# ## Archive ScanCentral Client logs on failure ###
95
96
- name : Save ScanCentral Logs
96
- uses : actions/upload-artifact@v2
97
+ uses : actions/upload-artifact@v4
97
98
if : failure()
98
99
with :
99
100
name : scancentral-logs
Original file line number Diff line number Diff line change 51
51
- ${{ inputs.runner_label }}
52
52
steps :
53
53
- name : " Sync Security Alerts to JIRA Issues"
54
- uses : reload/github-security-jira@v1.3.1
54
+ uses : reload/github-security-jira@v1.5.0
55
55
env :
56
56
GH_SECURITY_TOKEN : ${{ secrets.ORG_GITHUB_TOKEN }}
57
57
JIRA_TOKEN : ${{ secrets.JIRA_TOKEN }}
Original file line number Diff line number Diff line change 9
9
actionlint :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
12
+ - uses : actions/checkout@v4
13
13
- uses : reviewdog/action-actionlint@v1
14
14
if : github.event_name == 'pull_request'
15
15
- name : Check workflow files
Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ jobs:
46
46
47
47
steps :
48
48
- name : Checkout repository
49
- uses : actions/checkout@v3
49
+ uses : actions/checkout@v4
50
50
51
51
- name : configure aws credentials
52
- uses : aws-actions/configure-aws-credentials@v1
52
+ uses : aws-actions/configure-aws-credentials@v4
53
53
with :
54
54
role-skip-session-tagging : true
55
55
role-to-assume : ${{ inputs.iam_role_arn }}
69
69
uses : docker/setup-buildx-action@v2
70
70
71
71
- name : Build and push Docker mutable image
72
- uses : docker/build-push-action@v3
72
+ uses : docker/build-push-action@v6
73
73
env :
74
74
REGISTRY : ${{ steps.login-ecr.outputs.registry }}
75
75
REPOSITORY : ${{ inputs.ecr_repository }}
82
82
if : inputs.tag_mutability
83
83
84
84
- name : Build and push Docker immutable image
85
- uses : docker/build-push-action@v3
85
+ uses : docker/build-push-action@v6
86
86
env :
87
87
REGISTRY : ${{ steps.login-ecr.outputs.registry }}
88
88
REPOSITORY : ${{ inputs.ecr_repository }}
Original file line number Diff line number Diff line change 42
42
node-version : [18.x]
43
43
steps :
44
44
- name : Checkout newshub-postman collection
45
- uses : actions/checkout@v3
45
+ uses : actions/checkout@v4
46
46
with :
47
47
repository : ${{inputs.repository_name}}
48
48
ref : ${{inputs.repository_branch}} # main branch uses the github.ref_name
Original file line number Diff line number Diff line change 45
45
46
46
steps :
47
47
- name : Check out the repository
48
- uses : actions/checkout@v3
48
+ uses : actions/checkout@v4
49
49
50
50
- name : Setup image tag
51
51
run : |
60
60
uses : docker/setup-buildx-action@v2
61
61
62
62
- name : Build the image
63
- uses : docker/build-push-action@v3
63
+ uses : docker/build-push-action@v6
64
64
with :
65
65
push : false
66
66
load : true
72
72
if : inputs.action_cache != true
73
73
74
74
- name : Build the image with cache
75
- uses : docker/build-push-action@v3
75
+ uses : docker/build-push-action@v6
76
76
with :
77
77
push : false
78
78
load : true
Original file line number Diff line number Diff line change 26
26
- ${{ inputs.default_runner_override_label }}
27
27
- ${{ inputs.runner_label }}
28
28
steps :
29
- - uses : actions/checkout@v2
29
+ - uses : actions/checkout@v4
30
30
with :
31
31
fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
32
32
- uses : sonarsource/sonarqube-scan-action@master
You can’t perform that action at this time.
0 commit comments