diff --git a/.github/workflows/env-info-debug.yaml b/.github/workflows/env-info-debug.yaml new file mode 100644 index 0000000..7e2cfbe --- /dev/null +++ b/.github/workflows/env-info-debug.yaml @@ -0,0 +1,27 @@ +name: Print GitHub Info + +on: + push: + branches: + - main + +jobs: + print-info: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Print GitHub Context Information + run: | + echo "Run ID: ${{ github.run_id }}" + echo "Run Number: ${{ github.run_number }}" + echo "Repository: ${{ github.repository }}" + echo "Repository Owner: ${{ github.repository_owner }}" + echo "Actor: ${{ github.actor }}" + echo "Event Name: ${{ github.event_name }}" + echo "SHA: ${{ github.sha }}" + echo "Ref: ${{ github.ref }}" + echo "Workflow: ${{ github.workflow }}" + echo "Action: ${{ github.action }}" + echo "Job: ${{ github.job }}"