Skip to content

ci(shots): dispatch ci on the screenshot pull request branch - #16

Merged
kanywst merged 2 commits into
mainfrom
ci/shots-dispatch-ci
Nov 3, 2026
Merged

kanywst merged 2 commits into
mainfrom
ci/shots-dispatch-ci

Conversation

@kanywst

@kanywst kanywst commented Nov 3, 2026

Copy link
Copy Markdown
Member

Pull requests opened by the shots workflow use the workflow token, so CI never started on them and the required checks stayed pending until someone closed and reopened the pull request.

workflow_dispatch is the one event the workflow token can still trigger. This adds it to ci.yml, and the propose job in shots.yml now dispatches ci.yml on the branch right after opening the pull request (actions: write added for that). The checks run on the head commit, so the required lint / workflows / typecheck / test / build / e2e contexts are satisfied without the close/reopen step, and the note asking for it is gone from the pull request body.

Checked locally with actionlint 1.7.12 (same image as the workflows job).

@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3b398eda-579a-4661-bedd-75f34347d318
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@claude

claude Bot commented Nov 3, 2026

Copy link
Copy Markdown

Reviewed the diff, which only touches .github/workflows/ci.yml and .github/workflows/shots.yml. It is clean against the injection, CSP, two-views, input/focus and sync-failure checks, because no site code changed. actions: write is scoped to the propose job, which only commits PNGs that passed the path and check_png.py checks. workflow_dispatch is added to ci.yml, and inputs.sync and inputs.pages are empty on dispatch, so CI runs the PR-style build, not a deploy.

@kanywst
kanywst merged commit b672c53 into main Nov 3, 2026
12 checks passed
@kanywst
kanywst deleted the ci/shots-dispatch-ci branch November 3, 2026 15:37
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.

1 participant