From 44ae6995de502b18994c3917d4f9f91d791a3fe7 Mon Sep 17 00:00:00 2001 From: joshp123 Date: Thu, 7 May 2026 11:04:00 +0200 Subject: [PATCH] Trigger CI after yolo promotion What: - let the yolo promote job dispatch the CI workflow after pushing main - grant the promote job actions:write for workflow_dispatch Why: - GitHub suppresses push-triggered workflows created by GITHUB_TOKEN, so yolo-promoted commits otherwise lack a CI run on the final main SHA Tests: - scripts/check-flake-lock-owners.sh - node scripts/select-openclaw-release.test.mjs - bash -n scripts/update-pins.sh - ruby -e 'require "yaml"; ARGV.each { |f| YAML.load_file(f) }' .github/workflows/*.yml - GITHUB_ACTIONS=true scripts/update-pins.sh select - nix flake show --accept-flake-config Co-authored-by: Codex --- .github/workflows/yolo-update.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/yolo-update.yml b/.github/workflows/yolo-update.yml index bb7ae8d..8d1cafa 100644 --- a/.github/workflows/yolo-update.yml +++ b/.github/workflows/yolo-update.yml @@ -167,6 +167,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 permissions: + actions: write contents: write steps: - name: Checkout @@ -252,3 +253,5 @@ jobs: git fetch origin main git rebase origin/main git push origin HEAD:main + + gh workflow run ci.yml --ref main