Skip to content

Fix downgrade_release CI: update checkout action and add token fallback#26

Merged
TomasVotruba merged 2 commits into
mainfrom
copilot/fix-downgrade-release-job
Jun 5, 2026
Merged

Fix downgrade_release CI: update checkout action and add token fallback#26
TomasVotruba merged 2 commits into
mainfrom
copilot/fix-downgrade-release-job

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 5, 2026

The downgrade_release job was failing at checkout because secrets.WORKFLOWS_TOKEN is not configured — GitHub Actions passes an empty string for undefined secrets, causing git authentication to fail entirely.

Changes

  • actions/checkout@v3actions/checkout@v4 — v3 runs on deprecated Node.js 20 (forced off Sept 2026)
  • Token fallback${{ secrets.WORKFLOWS_TOKEN || github.token }} ensures the always-available github.token is used when WORKFLOWS_TOKEN is unset, fixing both the initial clone and the git push at the end of the job (credentials are persisted by the checkout action)
# before
-   uses: "actions/checkout@v3"
    with:
        token: ${{ secrets.WORKFLOWS_TOKEN }}

# after
-   uses: "actions/checkout@v4"
    with:
        token: ${{ secrets.WORKFLOWS_TOKEN || github.token }}

Copilot AI changed the title [WIP] Fix failing GitHub Actions job downgrade_release Fix downgrade_release CI: update checkout action and add token fallback Jun 5, 2026
Copilot AI requested a review from TomasVotruba June 5, 2026 14:21
@TomasVotruba TomasVotruba marked this pull request as ready for review June 5, 2026 14:21
@TomasVotruba TomasVotruba merged commit 4d524d8 into main Jun 5, 2026
7 checks passed
@TomasVotruba TomasVotruba deleted the copilot/fix-downgrade-release-job branch June 5, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants