Skip to content

ci: fix docs.yml environment gate + tune dependabot grouping - #13

Merged
alexps9 merged 3 commits into
mainfrom
chore/dependabot-and-docs-ci-fix
Jul 16, 2026
Merged

ci: fix docs.yml environment gate + tune dependabot grouping#13
alexps9 merged 3 commits into
mainfrom
chore/dependabot-and-docs-ci-fix

Conversation

@alexps9

@alexps9 alexps9 commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR fixes two issues found after the previous CI and governance updates:

  1. Docs workflow failure on pull requests
    The docs workflow used the github-pages environment 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 to main or manual runs, and deploys after the build succeeds.
  2. 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 main and includes the recent GitHub Actions version updates. The workflow and Dependabot configuration have also been checked.

alexps9 and others added 2 commits July 16, 2026 14:37
…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
alexps9 requested a review from a team as a code owner July 16, 2026 06:42
@alexps9
alexps9 requested review from kachitoritai-bilibili-user and removed request for a team July 16, 2026 06:42
@github-actions github-actions Bot added the ci label Jul 16, 2026
…ssage/pr_message)

Co-authored-by: Cursor <cursoragent@cursor.com>
@alexps9
alexps9 merged commit f101218 into main Jul 16, 2026
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant