Skip to content

Fix: add workflows: write permission to update-template workflow#16

Closed
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-github-actions-build-job
Closed

Fix: add workflows: write permission to update-template workflow#16
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-github-actions-build-job

Conversation

Copilot AI commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

The Build job in update-template.yml fails when GH_PAT is not set because upptime/uptime-monitor pushes generated workflow files (e.g. graphs.yml) and the fallback GITHUB_TOKEN lacks permission to write workflow files — only contents: write was granted.

Changes

  • .github/workflows/update-template.yml: Added workflows: write to the job's permissions block alongside the existing contents: write
permissions:
  contents: write
  workflows: write

Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'Build' Fix: add workflows: write permission to update-template workflow Jun 21, 2026
Copilot AI requested a review from leandrogehlen June 21, 2026 10:55
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