Skip to content

Prevent duplicate release workflow runs from manual releases#2131

Merged
pethers merged 1 commit into
mainfrom
copilot/fix-release-workflow
Jul 16, 2026
Merged

Prevent duplicate release workflow runs from manual releases#2131
pethers merged 1 commit into
mainfrom
copilot/fix-release-workflow

Conversation

Copilot AI commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Manual releases pushed version tags with a GitHub App token, triggering a second, skipped release workflow run. The manual release remains the sole run while independently pushed tags retain release automation.

  • Release tag publishing
    • Push manual-release tags using GITHUB_TOKEN instead of the GitHub App token.
    • GitHub suppresses workflow events caused by GITHUB_TOKEN.
RELEASE_TOKEN: ${{ github.token }}

git push "https://x-access-token:${RELEASE_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" \
  "refs/tags/${VERSION}"
  • Trigger behavior
    • Manual dispatch: creates and consumes the release tag without a follow-on run.
    • External tag pushes: continue to trigger the release workflow.

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

โœ… No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions Bot added the infrastructure CI/CD and build infrastructure label Jul 16, 2026
@pethers pethers marked this pull request as ready for review July 16, 2026 13:10
@pethers pethers merged commit b31e869 into main Jul 16, 2026
7 checks passed
@pethers pethers deleted the copilot/fix-release-workflow branch July 16, 2026 13:10
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

๐Ÿ“ธ Automated UI Screenshots

๐Ÿ“‹ Screenshots Captured (8)

# Screenshot
1 01-splash-screen.png - 01 splash screen.png
2 02-intro-screen-menu.png - 02 intro screen menu.png
3 03-intro-screen-archetype-selector.png - 03 intro screen archetype selector.png
4 04-controls-screen.png - 04 controls screen.png
5 05-philosophy-screen.png - 05 philosophy screen.png
6 06-training-screen.png - 06 training screen.png
7 07-combat-screen-practice.png - 07 combat screen practice.png
8 08-combat-screen-versus.png - 08 combat screen versus.png

๐Ÿ“ฆ Download Screenshots

๐Ÿ“ฅ Download all screenshots from workflow artifacts

Screenshots are preserved as workflow artifacts for 30 days.


๐Ÿค– Generated by Playwright automation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure CI/CD and build infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants