dump context #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dump context | |
on: | |
issue_comment: | |
types: [created] | |
push: | |
branches: ["main"] | |
tags: ["*"] | |
pull_request: | |
branches: ["main"] | |
types: [opened, synchronize, reopened, closed] | |
pull_request_target: | |
branches: ["main"] | |
types: [opened, synchronize, reopened, closed] | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
dump: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 3 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Dump environment | |
run: env | |
- name: Dump GitHub context | |
run: echo "$CONTEXT" | |
env: | |
CONTEXT: ${{ toJson(github) }} | |
- name: Dump job context | |
run: echo "$CONTEXT" | |
env: | |
CONTEXT: ${{ toJson(job) }} | |
- name: Dump steps context | |
run: echo "$CONTEXT" | |
env: | |
CONTEXT: ${{ toJson(steps) }} | |
- name: Dump runner context | |
run: echo "$CONTEXT" | |
env: | |
CONTEXT: ${{ toJson(runner) }} | |
- name: Dump strategy context | |
run: echo "$CONTEXT" | |
env: | |
CONTEXT: ${{ toJson(strategy) }} | |
- name: Dump matrix context | |
run: echo "$CONTEXT" | |
env: | |
CONTEXT: ${{ toJson(matrix) }} |