Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/repo-platform-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
".github/copilot-instructions.md": {"class": "mirror", "kind": "symlink", "hash": "79909577a70fc4971a7fcfd3cbec6a1af7182ca2dadc87f2979dce5e28f93ca0"},
".github/dependabot.yml": {"class": "managed", "hash": "08797f7ab8d963e4b940fe249ac348e778e16591e7508cbc4e26be57738b7ce8"},
".github/instructions/review.instructions.md": {"class": "managed", "hash": "3390ceea1180610460f4f2cf3e40af3921f1aba288f4c11c39fbcd780dcdfdf8"},
".github/repo-platform-manifest.json": {"class": "managed", "hash": null, "commit": "c22e7f76172395618bdb0a0b793f4215eedede61"},
".github/repo-platform-manifest.json": {"class": "managed", "hash": null, "commit": "2e703d63f4c40eacc19a269d321b81e382edf40c"},
".github/settings.local.yml": {"class": "starter"},
".github/settings.yml": {"class": "managed", "hash": "b038a2b43242a9d9fc8ab44df0ae89f3a1b1172d2ffd9a216cee2d5bc5d12554"},
".github/workflows/auto-assign.yml": {"class": "managed", "hash": "edea90e39500a0830a3a6ba1e5dabf3901c13cf12d17cbfb8481ac3a65935a31"},
".github/workflows/auto-fix.yml": {"class": "managed", "hash": "402781836bf671c8aa706fdf65005d1fcd26f3366b33065bd12e38232c3dd0a7"},
".github/workflows/checks.yml": {"class": "starter"},
".github/workflows/ci.yml": {"class": "managed", "hash": "3bbd809117b38344facab3f618f1d053eba4854b050fe1935c1538a9c2eab46e"},
".github/workflows/ci.yml": {"class": "managed", "hash": "9c96b856e7304dc7f40b27f91c97fc14aa91efa7b852e8a71648e9e226c7ec52"},
".github/workflows/copilot-setup-steps.yml": {"class": "starter"},
".github/workflows/nightly-fuzz.yml": {"class": "starter"},
".github/workflows/nightly.yml": {"class": "starter"},
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,14 @@ concurrency:

jobs:
# Repo-owned: edit checks.yml, not this file. The call carries the repository's secrets; a job that reads one declares what
# it uses (an environment for an environment secret). Permissions still cap at contents: read. The nightly run is the platform's alone.
# it uses (an environment for an environment secret). The nightly run is the platform's alone.
checks:
if: github.event_name != 'schedule'
# The checks ceiling: pull-requests write lets a job keep one sticky comment on the pull request
# (docs/fleet-guidelines.md). A called job cannot exceed its caller, so it is granted here.
permissions:
contents: read
pull-requests: write
uses: ./.github/workflows/checks.yml
# The called workflow is this repository's own, so it inherits the repository's secrets by design.
# nosemgrep: yaml.github-actions.security.secrets-inherit.secrets-inherit
Expand Down Expand Up @@ -264,11 +269,11 @@ jobs:
release-branch: ${{ needs.release.outputs.pr_head_branch }}

# Same run as the gate, so github.sha IS the judged commit and a red main never reaches the site.
# needs release -> a release commit's own deploy serves its new tag; an order, not a gate (!cancelled()), so a
# skipped or red release still deploys
# no push clause -> every main run deploys, so the nightly schedule IS the rebuild and a dispatch IS the manual deploy
# needs publish-release -> a release commit's own deploy serves its new tag and its published release; an order,
# not a gate (!cancelled()), so a skipped or red release or publish still deploys
# no push clause -> every main run deploys, so the nightly schedule IS the rebuild and a dispatch IS the manual deploy
site:
needs: [platform, all-green, release]
needs: [platform, all-green, publish-release]
if: >-
!cancelled() &&
needs.all-green.result == 'success' &&
Expand Down
Loading