From 92acbb0a8eaea05cc3e49ed3a59007bf6a68e0f6 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sun, 31 Mar 2024 00:22:51 +0100 Subject: [PATCH] [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 --- .forgejo/workflows/backport.yml | 5 +++++ .forgejo/workflows/testing.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.forgejo/workflows/backport.yml b/.forgejo/workflows/backport.yml index 10da148eab..a51633ed9b 100644 --- a/.forgejo/workflows/backport.yml +++ b/.forgejo/workflows/backport.yml @@ -40,6 +40,11 @@ jobs: container: image: 'docker.io/node:20-bookworm' steps: + - name: event info + run: | + cat <<'EOF' + ${{ toJSON(github) }} + EOF - name: Fetch labels id: fetch-labels shell: bash diff --git a/.forgejo/workflows/testing.yml b/.forgejo/workflows/testing.yml index f40cf1ed83..125cb798dc 100644 --- a/.forgejo/workflows/testing.yml +++ b/.forgejo/workflows/testing.yml @@ -14,6 +14,11 @@ jobs: container: image: 'docker.io/node:20-bookworm' steps: + - name: event info + run: | + cat <<'EOF' + ${{ toJSON(github) }} + EOF - uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/setup-go@v4 with: