fix(ci): prevent poll-upstream from cancelling in-progress builds
All checks were successful
poll-upstream / check (push) Successful in 1s
All checks were successful
poll-upstream / check (push) Successful in 1s
Poll was firing every minute, dispatching new builds that cancelled the running one. Restore 15-minute cron interval and add shared concurrency group across both workflows so new polls queue instead of re-dispatching. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,10 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: poll-and-build
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -106,11 +110,6 @@ jobs:
|
|||||||
publish:
|
publish:
|
||||||
needs: package
|
needs: package
|
||||||
runs-on: fedora
|
runs-on: fedora
|
||||||
# concurrency ensures only one publish runs at a time — repo metadata
|
|
||||||
# corruption is a nightmare if two createrepo_c processes race.
|
|
||||||
concurrency:
|
|
||||||
group: rpm-publish
|
|
||||||
cancel-in-progress: false
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|||||||
@@ -2,9 +2,13 @@ name: poll-upstream
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "*/1 * * * *"
|
- cron: "*/15 * * * *"
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: poll-and-build
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
runs-on: fedora
|
runs-on: fedora
|
||||||
|
|||||||
Reference in New Issue
Block a user