Skip to content

Instantly share code, notes, and snippets.

@damiann
Created March 12, 2025 22:01
Show Gist options
  • Save damiann/f98c509fef8620606983ffbe3b8b040b to your computer and use it in GitHub Desktop.
Save damiann/f98c509fef8620606983ffbe3b8b040b to your computer and use it in GitHub Desktop.
Output the GitHub environment for debugging
name: Check GitHub context
on:
pull_request:
types: [opened, synchronize]
jobs:
spell-check:
runs-on: self-hosted
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment