Skip to content

Fix SLSA provenance job failing with exit code 27#19

Merged
harumaki4649 merged 2 commits intomainfrom
copilot/fix-ci-yml-error
Mar 8, 2026
Merged

Fix SLSA provenance job failing with exit code 27#19
harumaki4649 merged 2 commits intomainfrom
copilot/fix-ci-yml-error

Conversation

Copy link
Contributor

Copilot AI commented Mar 8, 2026

The provenance / final job was exiting with code 27 (SUCCESS=false) because upload-assets: true caused the SLSA generator's internal upload-assets step to be skipped — no GitHub release/tag exists on a main push, so the step is skipped, and the final job treats a skipped required step as failure.

Change

  • .github/workflows/ci.yml: Set upload-assets: false on the provenance job. The downstream release job already downloads and attaches the provenance artifact (needs.provenance.outputs.provenance-name) to the GitHub Release, making the SLSA generator's built-in upload redundant.
# before
upload-assets: true

# after
upload-assets: false # Release job handles attaching provenance to GitHub Release

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…step failure

Co-authored-by: harumaki4649 <83683593+harumaki4649@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix error in ci.yml configuration Fix SLSA provenance job failing with exit code 27 Mar 8, 2026
@harumaki4649 harumaki4649 marked this pull request as ready for review March 8, 2026 15:04
@harumaki4649 harumaki4649 merged commit bb9dd81 into main Mar 8, 2026
44 of 50 checks passed
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