Skip to content

fix: correct GITHUB_TOKEN input name for calibreapp/image-actions in Automation Suite#180

Merged
DavidKRK merged 1 commit intogh-pagesfrom
copilot/fix-checksuite-issue
Apr 15, 2026
Merged

fix: correct GITHUB_TOKEN input name for calibreapp/image-actions in Automation Suite#180
DavidKRK merged 1 commit intogh-pagesfrom
copilot/fix-checksuite-issue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 15, 2026

The Optimisation des images job was failing at commit 25148e0 (check suite 64615632015) because the workflow referenced calibreapp/image-actions@v1 — a major-version alias tag that does not exist for this action (it publishes bare semver tags without the v prefix). That tag resolution failure was addressed in PR #177, which pinned the action to its full commit SHA and is already merged to gh-pages.

This PR applies the remaining fix: the with: input key githubToken was silently ignored by the action since v1.2.0 renamed it to GITHUB_TOKEN, causing the step to fall back to its default token rather than the explicitly passed one.

Changes

  • Correct input name: renames githubTokenGITHUB_TOKEN to match the action's interface since v1.2.0
    # Before
    githubToken: ${{ secrets.GITHUB_TOKEN }}
    # After
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@DavidKRK DavidKRK requested a review from Copilot April 15, 2026 22:35
@DavidKRK DavidKRK marked this pull request as ready for review April 15, 2026 22:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes the Automation Suite’s image optimization workflow by ensuring the calibreapp/image-actions step uses a resolvable reference and passes the expected authentication input so the action can push optimized assets back to the repo.

Changes:

  • Pin calibreapp/image-actions to a specific commit SHA (annotated as 1.4.1) to avoid tag/alias resolution issues.
  • Update the action input from githubToken to GITHUB_TOKEN so the token is actually consumed by the action.

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

@DavidKRK DavidKRK requested a review from Copilot April 15, 2026 22:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 targets the failing “Optimisation des images” workflow job by adjusting how the calibreapp/image-actions step is configured.

Changes:

  • Rename the action input from githubToken to GITHUB_TOKEN for the calibreapp/image-actions step.

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

Comment thread .github/workflows/automation-suite.yml
Copy link
Copy Markdown
Owner

@DavidKRK DavidKRK left a comment

Choose a reason for hiding this comment

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

OK pour la modification

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 Automation Suite workflow to make the image optimization job reliably reference calibreapp/image-actions, avoiding tag/alias resolution issues, and adjusts how the GitHub token is provided to the action.

Changes:

  • Pin calibreapp/image-actions to a specific commit SHA (annotated as 1.4.1).
  • Update the token input key from githubToken to GITHUB_TOKEN in the action step.

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

Comment thread .github/workflows/automation-suite.yml
@DavidKRK
Copy link
Copy Markdown
Owner

Pull request overview

This PR updates the Automation Suite workflow to make the image optimization job reliably reference calibreapp/image-actions, avoiding tag/alias resolution issues, and adjusts how the GitHub token is provided to the action.

Changes:

  • Pin calibreapp/image-actions to a specific commit SHA (annotated as 1.4.1).
  • Update the token input key from githubToken to GITHUB_TOKEN in the action step.

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

Comment je fais ? Fais le

Copy link
Copy Markdown
Owner

@DavidKRK DavidKRK left a comment

Choose a reason for hiding this comment

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

OK pour la fusion

Copilot AI changed the title fix: resolve calibreapp/image-actions version resolution failure in Automation Suite fix: correct GITHUB_TOKEN input name for calibreapp/image-actions in Automation Suite Apr 15, 2026
Copilot AI requested a review from DavidKRK April 15, 2026 23:29
Copy link
Copy Markdown
Owner

@DavidKRK DavidKRK left a comment

Choose a reason for hiding this comment

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

J approuve

@DavidKRK DavidKRK merged commit 6761ba9 into gh-pages Apr 15, 2026
19 of 20 checks passed
@DavidKRK DavidKRK deleted the copilot/fix-checksuite-issue branch April 16, 2026 07:17
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.

3 participants