Skip to content

Update Health Dashboard workflow fails to update discussion after org migration #8395

@angiejones

Description

@angiejones

Summary

The Update Health Dashboard GitHub Action appears to complete its data collection successfully, including reading the target discussion, but then fails when attempting to update the discussion body.

Error

GraphqlResponseError: Request failed due to following response errors:
 - Resource not accessible by integration

Notes

  • This is happening in the canonical aaif-goose/goose repository after the move from block/goose.
  • The workflow is able to fetch repo metrics and read the discussion before failing on the GraphQL mutation step.
  • The workflow file already requests discussion write permissions, so this may be caused by repo/org Actions token settings in the new org, or by GITHUB_TOKEN no longer having effective permission to update discussions after the transfer.

Possible fixes

  • Verify the repository Actions setting Workflow permissions is set to Read and write.
  • If GITHUB_TOKEN still cannot update discussions, use a dedicated fine-grained token secret for the workflow with repository Discussions write access.

Why this matters

The workflow still generates the health dashboard content and historical metrics, but the final update step fails, so the dashboard discussion stops refreshing automatically.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions