Skip to content

Fix workflow telemetry 403 errors by granting write permissions#148

Merged
jeroenrinzema merged 3 commits intomainfrom
copilot/debug-post-job-collection
Feb 5, 2026
Merged

Fix workflow telemetry 403 errors by granting write permissions#148
jeroenrinzema merged 3 commits intomainfrom
copilot/debug-post-job-collection

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 5, 2026

The workflow-telemetry-action was failing with 403 errors during post-job cleanup when attempting to write telemetry graphs and summaries.

Changes

  • Updated .github/workflows/ci.yml permissions:
    • actions: readactions: write (required for Actions API calls)
    • contents: readcontents: write (required for job summaries/artifacts)
 permissions:
-  actions: read
-  contents: read
+  actions: write
+  contents: write

The action needs write access even with comment_on_pr: false because it writes job summaries containing CPU, memory, disk, and network telemetry during post-run cleanup.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 5, 2026 22:56
Co-authored-by: jeroenrinzema <3440116+jeroenrinzema@users.noreply.github.com>
Co-authored-by: jeroenrinzema <3440116+jeroenrinzema@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing post collection job Fix workflow telemetry 403 errors by granting write permissions Feb 5, 2026
Copilot AI requested a review from jeroenrinzema February 5, 2026 23:01
@jeroenrinzema jeroenrinzema marked this pull request as ready for review February 5, 2026 23:01
@jeroenrinzema jeroenrinzema merged commit 8ab6f5d into main Feb 5, 2026
@jeroenrinzema jeroenrinzema deleted the copilot/debug-post-job-collection branch February 5, 2026 23:02
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