[t-mmyx6d0xfp0x] fix: open a pull request when main is protected
test / test (pull_request) Successful in 4s
test / test (pull_request) Successful in 4s
Every cascade from base and base-dev has failed since August: runner, base-dev and base-agent protect main against all pushes, so the direct push is refused three times and the release job fails, and a refused first target also skips the next cascade step. Push the bump to cascade/<name>-<tag> and open a pull request instead, so it lands through the target's review. Targets that still allow ci-bot to push (fritzlab/agent) keep the direct push. The script moves out of action.yaml into cascade.sh so tests/run can drive it against local bare repositories and a stubbed API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
43875de6b4
commit
d3dce56c31
6 files changed
+238
-56
No files matched your search
@@ -0,0 +1,13 @@
|
||||
name: test
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
jobs:
|
||||
test:
|
||||
runs-on: fritzlab
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: run tests
|
||||
run: bash tests/run
|
||||
Reference in new issue
Block a user