Let the gated sync's failure alert open its tracking issue

Merged
UN
5d ago
+3-3

Grants issues: write in the gated sync caller.

Why: the pm-github sync workflow reports a failed run through a tracking issue (job sync-status-issue) and closes it on recovery. Its caller documentation requires issues: write for that. This caller granted issues: read, so the job only logged a warning: the sync failed here for days in November without raising an alert.

Scope of the permission: the reusable workflow still limits the sync job itself to issues: read; only the alert job uses the write scope.

Diff: 2 files changed, 2 insertions(+), 2 deletions(-)

Fleet tracking: companion item pm-cli-website-fmr9 (private hub).

Summary by Sourcery

Grant the gated sync workflow sufficient issue permissions so sync failures reliably raise tracking alerts.

Bug Fixes:

  • Enable the gated sync failure alert to create, update, and close its tracking issue by granting the caller the required issue write permission.

Enhancements:

  • Clarify that all pm-github workflow callers are updated together in a reviewed release.

Chores:

  • Record the related dependency release update in the changelog.

Summary by cubic

Grants issues: write in the gated sync caller so the failure alert job can open, update, and close its tracking issue. Previously, with issues: read, the job only logged a warning, and sync failures went unalerted. Regenerates the changelog to match the generator output, fixing changelog:check failures on every PR.

  • The reusable workflow still limits the sync job itself to issues: read; only the alert job uses the write scope.
  • Updates a comment in .github/dependabot.yml to note that all pm-github workflow callers move in one release.
  • Adds version range and pull request link to the dependency entry in CHANGELOG.md.