detached 75aa6d4

ci: add debug step to dump workflow_run payload

the release job kept getting skipped even though the if-expression
should have evaluated true. adding a diagnostic job (no if-filter)
that prints github.event.workflow_run so we can see what fields
are actually populated on the webhook payload at eval time.
removing the [skip-release] guard temporarily to reduce variables.
commit
75aa6d4771e96f9e5d4560e2325e2969c3a34e9b
author
patriceckhart · · 2026-04-18 09:17 UTC
parent
f0014f1
signature
unsigned
refs
tag: v0.0.1
1 file · +20 -2
M .github/workflows/release.yml +20 -2
@@ -30,10 +30,28 @@ concurrency:
3030 cancel-in-progress: false
3131
3232 jobs:
33+ debug:
34+ # One-shot diagnostic job with no if-filter: dumps the full
35+ # workflow_run context so we can see what fields are actually
36+ # populated on the webhook payload. Remove once the release job
37+ # starts firing reliably.
38+ runs-on: ubuntu-latest
39+ steps:
40+ - name: dump workflow_run
41+ env:
42+ WR: ${{ toJSON(github.event.workflow_run) }}
43+ run: |
44+ echo "conclusion: ${{ github.event.workflow_run.conclusion }}"
45+ echo "head_branch: ${{ github.event.workflow_run.head_branch }}"
46+ echo "head_sha: ${{ github.event.workflow_run.head_sha }}"
47+ echo "---"
48+ printenv WR | head -c 2000
49+
3350 release:
51+ needs: debug
3452 # Only run when ci succeeded and we're on main, and when the head
35- # commit doesn't opt out via [skip release].
36- if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' && !contains(github.event.workflow_run.head_commit.message, '[skip-release]') }}
53+ # commit doesn't opt out via [skip-release].
54+ if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' }}
3755 runs-on: ubuntu-latest
3856 steps:
3957 - name: checkout
@@ -30,10 +30,28 @@ concurrency:
30 cancel-in-progress: false30 cancel-in-progress: false
31 31
32 jobs:32 jobs:
33+ debug:
34+ # One-shot diagnostic job with no if-filter: dumps the full
35+ # workflow_run context so we can see what fields are actually
36+ # populated on the webhook payload. Remove once the release job
37+ # starts firing reliably.
38+ runs-on: ubuntu-latest
39+ steps:
40+ - name: dump workflow_run
41+ env:
42+ WR: ${{ toJSON(github.event.workflow_run) }}
43+ run: |
44+ echo "conclusion: ${{ github.event.workflow_run.conclusion }}"
45+ echo "head_branch: ${{ github.event.workflow_run.head_branch }}"
46+ echo "head_sha: ${{ github.event.workflow_run.head_sha }}"
47+ echo "---"
48+ printenv WR | head -c 2000
49+
33 release:50 release:
51+ needs: debug
34 # Only run when ci succeeded and we're on main, and when the head52 # Only run when ci succeeded and we're on main, and when the head
35- # commit doesn't opt out via [skip release].53+ # commit doesn't opt out via [skip-release].
36- if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' && !contains(github.event.workflow_run.head_commit.message, '[skip-release]') }}54+ if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' }}
37 runs-on: ubuntu-latest55 runs-on: ubuntu-latest
38 steps:56 steps:
39 - name: checkout57 - name: checkout

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 477

↑↓ moveenter openesc close