Skip to content

fix: WP Performance Metrics CI check fails with GitHub API token scope error #471

Description

@superdav42

Summary

The WP Performance Metrics job fails with a GitHub API permission error on PR #470 (run 23554305690).

Error: RequestError [HttpError]: Resource not accessible by integration
URL: https://api.github.com/repos/Ultimate-Multisite/ultimate-multisite/issues/470/comments

The job attempts to post a comment via the GitHub API but the workflow token lacks issues:write permission. All other CI checks pass. This is a workflow permission issue, not a code regression.

Fix: Add issues:write or pull-requests:write permission to the WP Performance Metrics job in the workflow file.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstatus:in-reviewPR open, awaiting review/merge

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions