Repository navigation
Fix release approval attach on absolute paths - #7203
Open
eriknordmark wants to merge 1 commit into
Open
eriknordmark wants to merge 1 commit into
eriknordmark wants to merge 1 commit into
Conversation
The approval workflow passed absolute paths under $RUNNER_TEMP to oras attach, which refuses them. Attaching the approval to the images of release 17.14.0 failed after the release was published, so the images carry no approval. The step now reads the release files from their directory by relative name, keeping oras's path check on. Signed-off-by: eriknordmark <erik@zededa.com> Co-Authored-By: Claude Code <noreply@anthropic.com>
github-actions
Bot
requested review from
europaul,
rene,
shjala and
yash-zededa
November 24, 2026 01:26
eriknordmark
marked this pull request as ready for review
November 24, 2026 01:27
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The "Attach and verify" step of
release-approval.ymlpasses absolute pathsunder
$RUNNER_TEMPtooras attach, which refuses them. Run 45302438002(release 17.14.0) failed there after the release was published, so the
approval is not attached to its images. The step now runs from the release
directory and uses relative file names; oras's path check stays on.
How to test and validate this PR
Not covered by an automated test. The workflow runs only on master
(
workflow_dispatch, guarded tolf-edge/eveandrefs/heads/master).Local check with oras 1.3.1, the version the workflow pins, against a local
registry, using the real 17.14.0 approval bundle:
absolute file path detected,exit 1, and attaches nothing.
attached, visible after 0s.A second run prints
already attached.cosignwas stubbed to check only that a bundle referrer is visible. Thesignature check against the signer identity was not run.
After merge, rerun the approval:
gh workflow run release-approval.yml -R lf-edge/eve --ref master -f tag=17.14.0Changelog notes
None.
PR Backports
Checklist
Device tests do not apply to a workflow change. The boxes are left unchecked
for the reviewer.
🤖 Generated with Claude Code