We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 284e847 commit 7d42b9eCopy full SHA for 7d42b9e
.github/workflows/context.yaml
@@ -1,5 +1,8 @@
1
---
2
3
+# this file is *not* meant to cover or endorse the use of GitHub Actions, but
4
+# rather to help make automated releases for this project
5
+
6
name: Context testing
7
8
on: [push, pull_request] # yamllint disable-line rule:truthy
@@ -11,7 +14,10 @@ jobs:
11
14
- name: Dump GitHub context
12
15
env:
13
16
GITHUB_CONTEXT: ${{ toJson(github) }}
- run: echo "$GITHUB_CONTEXT"
17
+ # "event.pull_request.commits" is interesting
18
+ run: |
19
+ echo "$GITHUB_CONTEXT"
20
+ echo "$GITHUB_CONTEXT" | jq -c '.event.pull_request.commits'
21
- name: Dump job context
22
23
JOB_CONTEXT: ${{ toJson(job) }}
0 commit comments