Skip to content

Use workflow token for releases - #16

Merged
tidy-dev merged 3 commits into
mainfrom
tidy-dev-rebuild-security-dependencies
Aug 10, 2026
Merged

Use workflow token for releases#16
tidy-dev merged 3 commits into
mainfrom
tidy-dev-rebuild-security-dependencies

Conversation

@tidy-dev

@tidy-dev tidy-dev commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • grant the release job copilot-requests: write
  • authenticate Copilot CLI with the built-in ${{ github.token }}
  • remove the nonexistent COPILOT_GITHUB_TOKEN secret dependency
  • publish releases immediately by default, with an optional draft workflow input

Validation

  • parsed and inspected the workflow authentication and release configuration
  • verified the published v1 action supports falling back to GITHUB_TOKEN
  • verified version calculations produce v1.0.3, v1.1.0, and v2.0.0 from v1.0.2
  • verified the boolean draft input defaults to false and controls release creation
  • PR end-to-end CI exercises Copilot authentication with the same workflow-token permission

The release workflow has never run, so creating a release and moving tags cannot be fully exercised without performing a real release.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6b191f15-b0e5-4991-8234-267c6a68d830
@tidy-dev
tidy-dev requested a review from a team as a code owner August 10, 2026 14:33
Copilot AI balanced review requested due to automatic review settings August 10, 2026 14:33
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6b191f15-b0e5-4991-8234-267c6a68d830
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6b191f15-b0e5-4991-8234-267c6a68d830

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

Updates release authentication to use the built-in workflow token.

Changes:

  • Grants copilot-requests: write.
  • Removes the custom token secret dependency.
  • Changes releases from draft to immediately published.
Show a summary per file
File Description
.github/workflows/release.yml Updates release permissions, authentication, and publication behavior.

Review details

Tip

Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread .github/workflows/release.yml
@tidy-dev
tidy-dev merged commit 29ba181 into main Aug 10, 2026
5 checks passed
@tidy-dev
tidy-dev deleted the tidy-dev-rebuild-security-dependencies branch August 10, 2026 14:39
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