Skip to content

Commit f4b245e

Browse files
Added register step template
1 parent 0ee3acc commit f4b245e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#This is a template Register Build step. Please place the register step at the end of any developer build file to use the local compilation option
2+
name: Veracode Register Build
3+
4+
run-name: Veracode Register Build
5+
6+
on:
7+
repository_dispatch:
8+
types: [register-build]
9+
10+
jobs:
11+
register:
12+
runs-on: ubuntu-latest
13+
name: register
14+
steps:
15+
- name: Register build
16+
id: register-build
17+
uses: veracode/github-actions-integration-helper@main
18+
with:
19+
action: registerBuild
20+
token: ${{ github.event.client_payload.token }}
21+
appname: ${{ github.event.client_payload.user_config.profile_name }}
22+
source_repository: ${{ github.event.client_payload.repository.full_name }}
23+
check_run_id: ${{ github.run_id }}
24+
check_run_name: ${{ github.workflow }}
25+
head_sha: ${{ github.event.client_payload.sha }}
26+
event_type: ${{ github.event.client_payload.event_type }}
27+
branch: ${{ github.event.client_payload.repository.branch }}

0 commit comments

Comments
 (0)