Repository navigation
Conversation
The org IP allow list refuses GITHUB_TOKEN writes from standard runners but not reads of this public repository, so jobs that only read keep actions/checkout and move to ubuntu-latest. Jobs that push, tag, release, comment or label stay on the static-IP group. Checkouts no longer persist the token unless a later step pushes with git, and every external action is pinned to a commit SHA. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The job only reads the repository, which the IP allow list permits from standard runners, so it returns to macos-latest from scaleway-macos. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Like the iOS build, the job only reads the repository, so it returns to macos-latest from scaleway-macos. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bot-commit and flutter-web-pr-comment call the GitHub API, which the org IP allow list refuses from standard runners. The flutter-web deploy, remove and target actions make no GitHub call and run anywhere. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A "/" directory covers only .github/workflows, so the actions under .github/actions, which other repositories run, were left out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Drop `pull-requests: read` where no step reads pull requests. - Upload only the listed coverage files, so Codecov stops picking up an IDE run configuration as a report. - Name action-slack's pin by the release it matches (v3.19.0), so Dependabot can compare it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
update_goldens renders on the static-IP runners' ubuntu-24.04, while ubuntu-latest is now 26.04, so test pins 24.04 to keep regenerated goldens matching. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
update_goldens rendered on the static-IP group, whose image an admin can change without us noticing. It now renders on ubuntu-24.04, the image `test` compares on, and only the commit through the API runs on the static-IP group. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both jobs are on free runners now, so they follow the same label without a pinned image to bump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Building and deploying to Google Cloud make no GitHub API call, so the PR, beta and prod gallery deploys move to ubuntu-latest. Only the steps that call GitHub stay on the static-IP group: the PR comment, and the gh-pages push, which now commits a build made in a separate job instead of building inside flutter-gh-pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jobs that render or generate files on a free runner hand them to this workflow, which commits them with bot-commit from the static-IP runners, the only ones the org IP allow list lets call the GitHub API. Saves each caller the token, checkout and download boilerplate. update_goldens is the first caller. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The GitHub Pages build also uses the bootstrap action, as the flutter.getstream.io deploy beside it does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mit-artifact-workflow
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… commit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
flutter.getstream.io/design-system hosts the gallery's beta and prod builds, and nothing links to the GitHub Pages copy, so the gh-pages build and push go, along with their static-IP job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With an empty token, paths-filter diffs pull requests with git against the base branch instead of the GitHub API, which the org IP allow list refuses from standard runners. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A pull request's test merge commit has the base branch as its first parent, so diffing the last two commits lists the pull request's changes without paths-filter or a token. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without --no-renames git lists a moved file only under its new path, so a pull request moving a file out of packages/ skipped the analysis, unlike paths-filter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
detect_changes.yml tells whether a pull request or push changes any of the given globs, diffing with git instead of the GitHub API that dorny/paths-filter calls, so gates run on free runners without a token. Chat and chat-ai gate five workflows with paths-filter and can switch to it. The legacy-analysis gate is the first caller. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…workflows Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jobs that main's ruleset requires as status checks keep their IDs as their names, since a required check is matched by name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Run the legacy analysis when its gate fails: a skipped required check passes, so a broken gate would have let every pull request through. detect_changes.yml's example now shows the same condition. - Run it when a draft is marked ready for review, which kept the skipped check green until the next push. - Queue the pull request web build's comment jobs in one group, so a late link comment can't overwrite "removed". - Note in CLAUDE.md which jobs need the static-IP runners. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mit-artifact-workflow
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rkflow # Conflicts: # .github/workflows/update_goldens.yml # CLAUDE.md
bot-commit at #271's merge pins its own github-script by SHA, and the minted token only gets `contents: write`, all bot-commit needs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…other workflows Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…a branch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rkflow # Conflicts: # .github/workflows/update_goldens.yml
This branch has not been deployed
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.
Why
Since #271, a job that commits generated files renders on a free runner and hands the files to a job on
github-public-amd64, the only runners the org IP allow list lets call the GitHub API. That second job mints the CI bot token, downloads the artifact and runsbot-commit: about 30 lines, repeated inupdate_goldens(core, chat, chat-ai, video) andupdate_size_badges(chat, video).Changes
commit_artifact.yml: a reusable workflow (workflow_call) ongithub-public-amd64that commits an artifact of the calling run throughbot-commit. Inputsartifact,files,message,client-id, optionalbranchandexpected-head-sha; the app key comes in as theprivate-keysecret, notsecrets: inherit, and the minted token only getscontents: write. Outputschanged,commit,moved.update_goldenscalls it; its commit job goes from 30 lines to 9.Validation
update_goldenson a branch with one golden deleted (run): the called job committed exactly that file back as a verified bot commit, byte-identical to the original. On an unchanged branch it found nothing to commit (run).🤖 Generated with Claude Code