ci: bump pr_style_bot to current style-bot-action reusable workflow - #1360
Open
Abelo9996 wants to merge 1 commit into
Open
ci: bump pr_style_bot to current style-bot-action reusable workflow#1360Abelo9996 wants to merge 1 commit into
Abelo9996 wants to merge 1 commit into
Conversation
The PR Style Bot workflow pins huggingface_hub's style-bot-action.yml at 42642d4a, whose bundled actions are outdated (github-script v8, checkout v6, upload-artifact v4.6.0, download-artifact v4.1.8). The reusable workflow fails to start on issue_comment events, so every issue comment produces a failed run. Bump the pin to 9a3222e, the current version on huggingface_hub main (github-script v9, checkout v7, upload-artifact v7, download-artifact v8). The workflow_call interface is unchanged, so no caller changes are needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bump the pinned reusable workflow in
.github/workflows/pr_style_bot.yamlfromhuggingface_hub/.github/workflows/style-bot-action.yml@42642d4ato@9a3222e.Why
The current pin fails to start on
issue_commentevents, so every comment on an issue or PR produces a failed "PR Style Bot" run (for example: https://github.com/huggingface/lighteval/actions/runs/33112348806). The run creates no jobs, which indicates a startup failure resolving the reusable workflow at the old pin. That version bundles outdated actions (github-scriptv8,checkoutv6,upload-artifactv4.6.0,download-artifactv4.1.8).9a3222eis the current version of that reusable workflow onhuggingface_hubmain, with those actions bumped (github-scriptv9,checkoutv7,upload-artifactv7,download-artifactv8). Theworkflow_callinterface is identical (python_quality_dependenciesinput,app_idandapp_private_keysecrets), so the caller needs no other changes.Note
issue_commentworkflows only run from the default branch, so this cannot be exercised from a PR branch and will take effect once merged to main.