Skip to content

Commit 6b7888a

Browse files
Update issues job and fixed repo name typo
1 parent b0b148c commit 6b7888a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/binary-ready-veracode-sast-pipeline-scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
code-scanning-alert:
106106
needs: pipeline_scan
107107
runs-on: ubuntu-latest
108-
if: ${{ github.event.client_payload.user_config.create_code_scanning_alert }}
108+
if: ${{ github.event.client_payload.user_config.create_code_scanning_alert && always() }}
109109
name: Create code scanning alerts
110110
steps:
111111
- name: Get scan results
@@ -142,7 +142,7 @@ jobs:
142142
create-issues:
143143
needs: pipeline_scan
144144
runs-on: ubuntu-latest
145-
if: ${{ github.event.client_payload.user_config.create_issue }}
145+
if: ${{ github.event.client_payload.user_config.create_issue && always() }}
146146
name: Create issues
147147
steps:
148148
- name: Get scan results

.github/workflows/binary-ready-veracode-sast-policy-scan.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ jobs:
102102
vid: ${{ secrets.VERACODE_API_ID }}
103103
vkey: ${{ secrets.VERACODE_API_KEY }}
104104
appname: ${{ github.event.client_payload.user_config.profile_name }}
105-
source_repository: ${{ github.event.client_payload.repository.name }}
105+
source_repository: ${{ github.event.client_payload.repository.full_name }}
106106
fail_checks_on_policy: ${{ github.event.client_payload.user_config.break_build_policy_findings }}
107107
fail_checks_on_error: ${{ github.event.client_payload.user_config.break_build_on_error }}
108108
filter_mitigated_flaws: ${{ github.event.client_payload.user_config.filter_mitigated_flaws }}
109109

110110
code-scanning-alert:
111111
needs: policy_scan
112112
runs-on: ubuntu-latest
113-
if: ${{ github.event.client_payload.user_config.create_code_scanning_alert }}
113+
if: ${{ github.event.client_payload.user_config.create_code_scanning_alert && always() }}
114114
name: Create code scanning alerts
115115
steps:
116116
- name: Get scan results
@@ -149,7 +149,7 @@ jobs:
149149

150150
create-issues:
151151
needs: policy_scan
152-
if: ${{ github.event.client_payload.user_config.create_issue }}
152+
if: ${{ github.event.client_payload.user_config.create_issue && always() }}
153153
runs-on: ubuntu-latest
154154
name: Create issues
155155
steps:

0 commit comments

Comments
 (0)