[CI] backport: show event information for debug purposes

It will help figure out why two runs of testing happen when a backport
PR is open.

Refs: https://codeberg.org/forgejo/forgejo/pulls/2922
Refs: https://codeberg.org/forgejo/forgejo/issues/2009
This commit is contained in:
Earl Warren 2024-03-31 00:22:51 +01:00
parent ebf8eb5b85
commit 7aa686d979
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 0579CB2928A78A00
2 changed files with 10 additions and 0 deletions

View file

@ -40,6 +40,11 @@ jobs:
container: container:
image: 'docker.io/node:20-bookworm' image: 'docker.io/node:20-bookworm'
steps: steps:
- name: event info
run: |
cat <<'EOF'
${{ toJSON(github) }}
EOF
- name: Fetch labels - name: Fetch labels
id: fetch-labels id: fetch-labels
shell: bash shell: bash

View file

@ -14,6 +14,11 @@ jobs:
container: container:
image: 'docker.io/node:20-bookworm' image: 'docker.io/node:20-bookworm'
steps: steps:
- name: event info
run: |
cat <<'EOF'
${{ toJSON(github) }}
EOF
- uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/checkout@v3
- uses: https://code.forgejo.org/actions/setup-go@v4 - uses: https://code.forgejo.org/actions/setup-go@v4
with: with: