Skip to content

fix: broaden permissions for attestations - #11

Merged
szymonmaszke merged 1 commit into
mainfrom
10
May 12, 2026
Merged

fix: broaden permissions for attestations#11
szymonmaszke merged 1 commit into
mainfrom
10

Conversation

@szymonmaszke

Copy link
Copy Markdown
Member

Checklist

  • I agree to follow this project's Code of Conduct
  • I have read this project's Contributing Guide
  • I have created relevant issue(s) and linked them in the PR description

Closes #10

Copilot AI review requested due to automatic review settings May 12, 2026 14:11
@github-actions github-actions Bot added actions GitHub Actions updates fix Fix labels May 12, 2026
@szymonmaszke
szymonmaszke merged commit e22a962 into main May 12, 2026
29 of 31 checks passed
@szymonmaszke
szymonmaszke deleted the 10 branch May 12, 2026 14:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub Actions release workflow to support artifact attestations/metadata and ensure the changelog generation step has full repository context during release publishing.

Changes:

  • Broadened job permissions in the sboms job to allow writing artifact metadata.
  • Ensured the changelog job runs with a full checkout via the reusable workflow input.
  • Updated pinned SHAs for several third-party GitHub Actions used during the release upload flow.
Comments suppressed due to low confidence (1)

.github/workflows/release.yml:247

  • actions/upload-artifact is pinned here to a different SHA/version than the repo’s other workflows (notably .github/workflows/run-reusable.yml, which still uses a v4.x pin). If the bump is intentional, consider updating the shared reusable workflow too (or documenting why this job needs a different version) to avoid inconsistent artifact upload behavior.
      - name: "Upload artifacts"
        # enq: hash with name and version always longer than 80 chars
        # yamllint disable rule:line-length
        uses: "actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a" # v7.0.1
        # yamllint enable rule:line-length
        with:
          name: "dist-${{ github.sha }}"
          path: "dist"

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

Comment on lines 204 to 210
- name: "Download artifacts"
# enq: hash with name and version always longer than 80 chars
# yamllint disable rule:line-length
uses: "actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093" # v4.3.0
uses: "actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c" # v8.0.1
# yamllint enable rule:line-length
with:
name: "dist-${{ github.sha }}"
Signed-off-by: szymonmaszke <github@maszke.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

actions GitHub Actions updates fix Fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copy over the release from latest opentemplate

2 participants