Conversation
…+ API) Agent-Logs-Url: https://github.com/DavidKRK/DavidKRK.github.io/sessions/384df50e-f836-47d7-8591-e0ebb41bbb38 Co-authored-by: DavidKRK <136035295+DavidKRK@users.noreply.github.com>
|
|
There was a problem hiding this comment.
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-actionsto a specific commit SHA (annotated as1.4.1) to avoid tag/alias resolution issues. - Update the action input from
githubTokentoGITHUB_TOKENso the token is actually consumed by the action.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
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
githubTokentoGITHUB_TOKENfor thecalibreapp/image-actionsstep.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
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-actionsto a specific commit SHA (annotated as1.4.1). - Update the token input key from
githubTokentoGITHUB_TOKENin the action step.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment je fais ? Fais le |
The
Optimisation des imagesjob was failing at commit25148e0(check suite64615632015) because the workflow referencedcalibreapp/image-actions@v1— a major-version alias tag that does not exist for this action (it publishes bare semver tags without thevprefix). That tag resolution failure was addressed in PR #177, which pinned the action to its full commit SHA and is already merged togh-pages.This PR applies the remaining fix: the
with:input keygithubTokenwas silently ignored by the action since v1.2.0 renamed it toGITHUB_TOKEN, causing the step to fall back to its default token rather than the explicitly passed one.Changes
githubToken→GITHUB_TOKENto match the action's interface since v1.2.0