File tree Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Dump Context'
2
+ description : ' Display context for action run'
3
+
4
+ runs :
5
+ using : ' composite'
6
+ steps :
7
+ - name : Dump GitHub context
8
+ shell : bash
9
+ env :
10
+ GITHUB_CONTEXT : ${{ toJson(github) }}
11
+ run : echo "$GITHUB_CONTEXT"
12
+ - name : Dump job context
13
+ shell : bash
14
+ env :
15
+ JOB_CONTEXT : ${{ toJson(job) }}
16
+ run : echo "$JOB_CONTEXT"
17
+ - name : Dump steps context
18
+ shell : bash
19
+ env :
20
+ STEPS_CONTEXT : ${{ toJson(steps) }}
21
+ run : echo "$STEPS_CONTEXT"
22
+ - name : Dump runner context
23
+ shell : bash
24
+ env :
25
+ RUNNER_CONTEXT : ${{ toJson(runner) }}
26
+ run : echo "$RUNNER_CONTEXT"
Original file line number Diff line number Diff line change
1
+ name : On Deployment
2
+
3
+ on :
4
+ deployment
5
+
6
+ jobs :
7
+ link :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - uses : ./.github/actions/context
Original file line number Diff line number Diff line change 3
3
pull_request :
4
4
merge_group :
5
5
jobs :
6
+ check :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - uses : ./.github/actions/context
6
11
test :
7
12
if : github.event_name == 'pull_request'
8
13
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments