Skip to content

ci: fix release_linux workflow - #2124

Merged
nullPointerEnjoyer merged 2 commits into
masterfrom
ci/fix-release-linux-workflow
Sep 22, 2026
Merged

nullPointerEnjoyer merged 2 commits into
masterfrom
ci/fix-release-linux-workflow

Conversation

@nullPointerEnjoyer

Copy link
Copy Markdown
Contributor

Problem

Every push since the packaging pipeline commits (Sep 20) fails .github/workflows/release_linux.yml at startup — including the merges of #2121 and #2122. No job ever runs; GitHub reports:

(Line: 21, Col: 5): Unexpected value '', (Line: 33, Col: 5): 'permissions' is already defined

Cause

Two independent workflow-file bugs, both introduced while the packaging PR findings were being addressed (c280735 / 403be7a):

  1. A top-level env: block containing only comments → the value parses as null, which the workflow parser rejects.
  2. A duplicated job-level permissions: key — one block per commit, merged together.

Fix

  • Turn the comments-only env: block into a plain comment (same text).
  • Drop the duplicate permissions: block.

Verification

  • Strict YAML parse (duplicate keys rejected): clean; all other 9 workflows under .github/workflows/ scanned with the same check and already OK.
  • Workflow should validate on this PR's own push — the next release_linux run should get past startup and actually create the build jobs.

- remove the comments-only top-level env block (null value, rejected by
  the workflow parser: 'Unexpected value ""' at line 21)
- drop the duplicated job-level permissions key (line 33: 'permissions
  is already defined')

Both came in with the packaging pipeline commits; every push to master
and to the mempool-rest-proxy / pos-seal-indexing branches since Sep 20
failed at startup because of this, including the merges of #2121 and
#2122. No job ever ran; nothing else is affected.
@github-actions

github-actions Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

✅ OpenCodeReview: Review complete: 0 finding(s) across 1 selected item(s).

The note about container image pins was left as a top-level comment
when the empty env block was removed, where it documented nothing.
Move it onto the Create RPM packages step, the first consumer of the
pins; the deb step's existing comment already covers the test-local.sh
part.
@nullPointerEnjoyer
nullPointerEnjoyer merged commit 3381f55 into master Sep 22, 2026
21 checks passed
@nullPointerEnjoyer
nullPointerEnjoyer deleted the ci/fix-release-linux-workflow branch September 22, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants