Skip to content

Commit ac02032

Browse files
authored
Merge pull request #11 from bowtie-json-schema/workflow-run-to-publish-image-after-pr
Add test workflow to see the actual payload after run is completed
2 parents c6fbca4 + b57833c commit ac02032

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Build and publish test harness image after Dependabot PR
2+
3+
on:
4+
workflow_run: # zizmor: ignore[dangerous-triggers] we are aware that it is a dengerouse trigger but we need a way to build an image after Dependabot PR
5+
types: [ completed ]
6+
workflows: [ 'Rebuild Bowtie Image' ]
7+
8+
permissions: {}
9+
10+
jobs:
11+
build-and-publish:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Print trigger event
15+
env:
16+
EVENT_PAYLOAD: ${{ toJson(github.event) }}
17+
run: echo $EVENT_PAYLOAD

0 commit comments

Comments
 (0)