Skip to content

Instantly share code, notes, and snippets.

@kjivan
Created January 24, 2024 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kjivan/404d041059dd91bd0420860772235d23 to your computer and use it in GitHub Desktop.
Save kjivan/404d041059dd91bd0420860772235d23 to your computer and use it in GitHub Desktop.
Github JSON
name: Pipeline
on:
push:
jobs:
log-json:
name: Run test command & log github json
runs-on:
- self-hosted
steps:
# Initial environment setup
- name: Test Command
run: |
cat /proc/1/cgroup
# Initial environment setup
- name: Get Github JSON Object
run: |
echo "${{ toJson(github) }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment