Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 1, 2026

The SLSA workflow fails during setup due to deprecated actions/upload-artifact@v3 in the generator v1.10.0.

Changes

  • Updated slsa-framework/slsa-github-generator from v1.10.0 to v2.1.0 in .github/workflows/slsa-provenance.yml

The v2.1.0 release uses non-deprecated artifact actions and is the current recommended version per SLSA framework documentation.

Original prompt

fix SLSA workflow:

0s
Current runner version: '2.330.0'
Runner Image Provisioner
Operating System
Runner Image
GITHUB_TOKEN Permissions
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Error: This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: a8a3f3ad30e3422c9c7b888a15615d19a852ae32. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/


docs: https://github.com/slsa-framework/slsa-github-generator#verification-of-provenance

and use the latest version: v2.1.0: https://github.com/slsa-framework/slsa-github-generator/blob/main/.github/workflows/generator_generic_slsa3.yml


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Update slsa-framework/slsa-github-generator from v1.10.0 to v2.1.0
to resolve the issue with deprecated actions/upload-artifact@v3.
The v2.1.0 version uses the latest actions and is recommended by
the SLSA framework documentation.

Co-authored-by: jacksonpradolima <7774063+jacksonpradolima@users.noreply.github.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 1, 2026

Copilot AI changed the title [WIP] Fix deprecated actions/upload-artifact version in SLSA workflow Update SLSA generator to v2.1.0 Jan 1, 2026
Copilot AI requested a review from jacksonpradolima January 1, 2026 23:24
@jacksonpradolima jacksonpradolima marked this pull request as ready for review January 1, 2026 23:25
Copilot AI review requested due to automatic review settings January 1, 2026 23:25
@jacksonpradolima jacksonpradolima merged commit 56b04b6 into master Jan 1, 2026
11 checks passed
@jacksonpradolima jacksonpradolima deleted the copilot/fix-slsa-workflow branch January 1, 2026 23:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the SLSA GitHub Generator workflow from v1.10.0 to v2.1.0 to resolve a critical failure caused by the deprecated actions/upload-artifact@v3 action used in the older generator version.

Key Changes

  • Updated slsa-framework/slsa-github-generator reference from v1.10.0 to v2.1.0 in the SLSA provenance workflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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