-
-
Notifications
You must be signed in to change notification settings - Fork 3
28 lines (21 loc) · 732 Bytes
/
github-context.yml
File metadata and controls
28 lines (21 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# https://docs.github.com/en/actions/learn-github-actions/contexts
name: GitHub Context
on: [push, pull_request]
jobs:
github-context:
runs-on: ubuntu-latest
# https://www.edwardthomson.com/blog/github_actions_12_information_about_your_workflow.html
steps:
- name: github context
run: echo '${{ toJson(github) }}'
continue-on-error: true
- name: job context
run: echo '${{ toJson(job) }}'
- name: steps context
run: echo '${{ toJson(steps) }}'
- name: runner context
run: echo '${{ toJson(runner) }}'
- name: strategy context
run: echo '${{ toJson(strategy) }}'
- name: matrix context
run: echo '${{ toJson(matrix) }}'