ci: fix docs.yml environment gate + tune dependabot grouping - #13
Merged
Conversation
…nvironment gate - build job (checkout/setup-node/build/upload-artifact) runs unconditionally, no environment attached - deploy job (environment: github-pages) only runs on push to main / workflow_dispatch, and needs: build - this was previously blocking any PR that touched an action pinned in docs.yml (e.g. dependabot version bumps) with an instant, log-less failure due to the github-pages environment's branch policy Also: dependabot.yml - group github-actions updates into a single PR, and stop suggesting docker python major/minor bumps (needs manual compat review). Co-authored-by: Cursor <cursoragent@cursor.com>
alexps9
requested review from
kachitoritai-bilibili-user
and removed request for
a team
July 16, 2026 06:42
…ssage/pr_message) Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
This PR fixes two issues found after the previous CI and governance updates:
Docs workflow failure on pull requests
The docs workflow used the
github-pagesenvironment at the job level, which caused non-main branches to fail immediately because of environment protection rules.The workflow is now split into:
build: runs for all events and checks that the documentation builds correctly.deploy: runs only on pushes tomainor manual runs, and deploys after the build succeeds.Too many Dependabot pull requests
GitHub Actions updates are now grouped into one pull request.
Major and minor Docker image updates are ignored because they may require manual compatibility checks.
This branch is based on the latest
mainand includes the recent GitHub Actions version updates. The workflow and Dependabot configuration have also been checked.