We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dfc335 commit 93cae02Copy full SHA for 93cae02
.github/workflows/dispatch.yml
@@ -0,0 +1,24 @@
1
+name: Repo Events Repository Dispatch
2
+
3
+on:
4
+ - issues
5
+ - issue_comment
6
+ - pull_request
7
8
+jobs:
9
+ preflight-job:
10
+ name: Dispatch
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Print Outputs
14
+ env:
15
+ outputs: ${{ toJSON(github) }}
16
+ run: |
17
+ echo outputs: $outputs
18
+ - name: Repository Dispatch
19
+ uses: peter-evans/repository-dispatch@v1
20
+ with:
21
+ token: ${{ secrets.PAT }}
22
+ repository: githubocto/next-devex-workflows # repo to send event to
23
+ event-type: repoevents # name of the custom event
24
+ client-payload: '{"event": ${{ toJSON(github) }}}'
0 commit comments