Skip to content

fix(ci): add workflows: write permission to create-historical-releases workflow#71

Merged
yeison-liscano merged 3 commits intomainfrom
copilot/add-tag-v040-release
Apr 23, 2026
Merged

fix(ci): add workflows: write permission to create-historical-releases workflow#71
yeison-liscano merged 3 commits intomainfrom
copilot/add-tag-v040-release

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 18, 2026

The create-historical-releases workflow fails with HTTP 403 when creating tags for historical commits that touched .github/workflows/ files — GitHub enforces this check server-side for both git push and direct REST API ref creation, requiring workflows: write in addition to contents: write.

Changes

  • .github/workflows/create-historical-releases.yml
    • Add workflows: write to the permissions block
    • Correct the inline comment that incorrectly claimed workflows: write cannot be granted via the permissions block (the previous PR misread GitHub's "action_required" review prompt for workflow file changes as a syntax validation failure)
permissions:
  contents: write
  workflows: write  # required: v0.4.0 commit touches .github/workflows/dev.yml

📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

…ow-file-touching commits

Co-authored-by: yeison-liscano <104051061+yeison-liscano@users.noreply.github.com>
Copilot AI changed the title [WIP] [PR-70] Add new tag v0.4.0 and release process fix(ci): add workflows: write permission to create-historical-releases workflow Mar 18, 2026
Copilot AI requested a review from yeison-liscano March 18, 2026 04:35
@yeison-liscano yeison-liscano marked this pull request as ready for review April 23, 2026 02:48
@yeison-liscano yeison-liscano merged commit c246773 into main Apr 23, 2026
6 of 7 checks passed
@yeison-liscano yeison-liscano deleted the copilot/add-tag-v040-release branch April 23, 2026 02:57
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