Skip to content

Fix weekly build job failure by granting release tag write permission - #1

Merged
neokoni merged 2 commits into
v6from
copilot/fix-failing-github-actions-job
Sep 10, 2026
Merged

neokoni merged 2 commits into
v6from
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Sep 10, 2026 •

Copy link
Copy Markdown

The weekly Actions build job was failing during the release/tag step with Resource not accessible by integration. The workflow now grants the token scope required for action-automatic-releases to create/update the weekly tag.

  • Root cause

    • Weekly workflow ran release automation without contents: write, so tag mutation via GITHUB_TOKEN was blocked.
  • Workflow change

    • Updated .github/workflows/weekly.yml to explicitly grant repository contents write permission at workflow scope.
  • Resulting behavior

    • marvinpinto/action-automatic-releases can create/update refs/tags/weekly in scheduled/manual weekly runs.
permissions:
  contents: write

Co-authored-by: neokoni <90206655+neokoni@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix the failing GitHub Actions job 'build' Fix weekly build job failure by granting release tag write permission Sep 10, 2026
Copilot AI requested a review from neokoni September 10, 2026 03:12
@neokoni
neokoni marked this pull request as ready for review September 10, 2026 03:13
Copilot AI lite review requested due to automatic review settings September 10, 2026 03:13
@neokoni
neokoni merged commit b2d02ba into v6 Sep 10, 2026
1 check passed

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.

🟢 Approval recommended

The workflow-level permission change is minimal, correctly scoped for the reported failure, and aligns with the release action’s need to write tags.

Pull request overview

This PR updates the weekly GitHub Actions workflow to fix a release/tag step failure caused by insufficient GITHUB_TOKEN permissions, allowing the workflow to create/update the weekly tag as intended.

Changes:

  • Grant workflow-level permissions: contents: write in .github/workflows/weekly.yml to allow tag mutation by marvinpinto/action-automatic-releases.
File summaries
File Description
.github/workflows/weekly.yml Adds workflow-scope contents: write permission so the weekly release action can update the weekly tag.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

3 participants