Skip to content

Fix release tag pushes to use the automation token explicitly#745

Merged
baynezy merged 3 commits intodevelopfrom
copilot/fix-tagging-workflow-failure
Apr 14, 2026
Merged

Fix release tag pushes to use the automation token explicitly#745
baynezy merged 3 commits intodevelopfrom
copilot/fix-tagging-workflow-failure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 14, 2026

The release tagging workflow is still failing after the earlier token-plumbing change: the reusable tag job receives the automation token, but the final git push is not consistently using it and is rejected with 403. This PR makes the tag push authenticate explicitly with the provided token inside the reusable workflow.

  • Tag push authentication

    • Export GH_TOKEN from the reusable workflow secret.
    • Run gh auth setup-git before creating and pushing the tag so Git uses the intended automation credential for the remote.
  • Reusable workflow behaviour

    • Keep the existing github-token secret contract in step-tag-release.yml.
    • Leave the branch workflow callers unchanged; they continue to pass CREATE_PR_TOKEN into the reusable tag job.
  • Release notes

    • Update the unreleased changelog entry to describe the authentication change more precisely.
- name: Create tag
  env:
    GH_TOKEN: ${{ secrets.github-token }}
    VERSION: ${{ inputs.version }}
  run: |
    gh auth setup-git
    git tag -a "$VERSION" -m "Version $VERSION created via GitHub Actions"
    git push origin "$VERSION"

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • github-production-user-asset-6210df.s3.amazonaws.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI linked an issue Apr 14, 2026 that may be closed by this pull request
Agent-Logs-Url: https://github.com/baynezy/Html2Markdown/sessions/31c6d624-c6ab-47f1-b4d5-8aee35443b26

Co-authored-by: baynezy <1049999+baynezy@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix tagging workflow failure issue Fix release tag pushes to use the automation token explicitly Apr 14, 2026
Copilot AI requested a review from baynezy April 14, 2026 16:02
@baynezy baynezy marked this pull request as ready for review April 14, 2026 16:08
@github-actions
Copy link
Copy Markdown

Test Results

201 tests  ±0   201 ✅ ±0   1s ⏱️ ±0s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 249a745. ± Comparison against base commit 7ad006c.

@baynezy baynezy merged commit c893e81 into develop Apr 14, 2026
13 checks passed
@baynezy baynezy deleted the copilot/fix-tagging-workflow-failure branch April 14, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tagging workflow is failing

2 participants