Skip to content

Init set of commits for sandbox #28

Init set of commits for sandbox

Init set of commits for sandbox #28

name: Github Context
on: [pull_request]
jobs:
github-context:
name: job-context
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJSON(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJSON(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: echo "$MATRIX_CONTEXT"
context-variables:
runs-on: ubuntu-latest
steps:
- run: |
echo "GITHUB_REPOSITORY_OWNER: $GITHUB_REPOSITORY_OWNER"
echo "GITHUB_REPOSITORY: $GITHUB_REPOSITORY"
echo "github.repository: ${{ github.repository }}"
echo "github.repository_owner: ${{ github.repository_owner }}"
echo "GITHUB.REPOSITORY: $GITHUB.REPOSITORY"
echo "GITHUB.REPOSITORY_OWNER: $GITHUB.REPOSITORY_OWNER"