mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-27 06:15:15 +00:00
fix(ci): skip bot-triggered runs in Auto Fix CI Failures
Co-authored-by: polylane[bot] <277585245+polylane[bot]@users.noreply.github.com>
This commit is contained in:
parent
69327ca1c6
commit
4dc504b397
1 changed files with 6 additions and 1 deletions
7
.github/workflows/claude-auto-fix-ci.yml
vendored
7
.github/workflows/claude-auto-fix-ci.yml
vendored
|
|
@ -15,9 +15,14 @@ permissions:
|
|||
|
||||
jobs:
|
||||
auto-fix:
|
||||
# claude-code-action refuses non-human actors unless `allowed_bots` is set, so a
|
||||
# bot-triggered run (for example a Polylane autofix branch) fails at the Claude
|
||||
# step even though the job cannot do its work. Skip those runs, matching the
|
||||
# human-only gating in claude.yml, instead of reporting them as CI failures.
|
||||
if: |
|
||||
github.event.workflow_run.conclusion == 'failure' &&
|
||||
github.event.workflow_run.pull_requests[0]
|
||||
github.event.workflow_run.pull_requests[0] &&
|
||||
!endsWith(github.event.workflow_run.actor.login, '[bot]')
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue