Skip to content

Seed skills token needs issues: write for failure notifications - #58

Merged
jeremy merged 1 commit into
mainfrom
ci/seed-skills-issues-write
Jul 27, 2026
Merged

Seed skills token needs issues: write for failure notifications#58
jeremy merged 1 commit into
mainfrom
ci/seed-skills-issues-write

Conversation

@jeremy

@jeremy jeremy commented Jul 27, 2026

Copy link
Copy Markdown
Member

Follow-up to #53 closing the valid Codex P2: the seed template's skills App token is also the GH_TOKEN for the failure-notification step (gh issue list/comment/create on basecamp/skills), and those calls are swallowed by || true — so the contents-only scoping silently killed notifications. Adds permission-issues: write (a documented input on the pinned create-github-app-token v2.2.1, alongside permission-contents).

Review feedback (Codex, cli#53): scoping the skills App token to
contents alone silently broke the failure-notification path — the same
token drives gh issue list/comment/create on the skills repo, and those
calls are swallowed by || true. permission-issues: write restores them.
Copilot AI review requested due to automatic review settings July 27, 2026 23:02
@github-actions github-actions Bot added the seed label Jul 27, 2026
@github-actions github-actions Bot added the bug Something isn't working label Jul 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the seed template’s release workflow so the GitHub App token used for syncing skills can also successfully create/comment on issues for sync failure notifications in basecamp/skills.

Changes:

  • Add permission-issues: write to the actions/create-github-app-token step in the seed release workflow, enabling gh issue list/comment/create in the failure-notification step.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jeremy
jeremy merged commit 45a4d10 into main Jul 27, 2026
23 checks passed
@jeremy
jeremy deleted the ci/seed-skills-issues-write branch July 27, 2026 23:05

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 109e886d1b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread seed/.github/workflows/release.yml
jeremy added a commit that referenced this pull request Jul 27, 2026
#59)

The workflow requests permission-contents and permission-issues, and the
pinned create-github-app-token fails token creation outright when a
requested permission is missing from the installation — a Contents-only
App stops syncing entirely after #58. Document both permissions and the
installation-update reapproval for existing Apps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working seed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants