зеркало из https://github.com/github/ruby.git
Throttle GitHub Actions [ci skip]
As GitHub Actions are choking a lot lately, throttle the checks down to the latest commit only per branches.
This commit is contained in:
Родитель
89b440bf72
Коммит
e2b78440ba
|
@ -12,6 +12,10 @@ on:
|
|||
- '**.md'
|
||||
- '**.rdoc'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }} / ${{ github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
baseruby:
|
||||
name: BASERUBY
|
||||
|
|
|
@ -11,6 +11,10 @@ on:
|
|||
- '**.md'
|
||||
- '**.rdoc'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }} / ${{ github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
update-deps:
|
||||
strategy:
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
name: Miscellaneous checks
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }} / ${{ github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -14,6 +14,10 @@ on:
|
|||
schedule:
|
||||
- cron: '0 12 * * 4'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }} / ${{ github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
CodeQL-Build:
|
||||
|
||||
|
|
|
@ -12,6 +12,10 @@ on:
|
|||
- '**.md'
|
||||
- '**.rdoc'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }} / ${{ github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
# Github actions does not support YAML anchors. This creative use of
|
||||
# environment variables (plus the "echo $GITHUB_ENV" hack) is to reroute that
|
||||
# restriction.
|
||||
|
|
|
@ -11,6 +11,10 @@ on:
|
|||
- '**.md'
|
||||
- '**.rdoc'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }} / ${{ github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
# Notes:
|
||||
# Actions console encoding causes issues, see test-all & test-spec steps
|
||||
#
|
||||
|
|
|
@ -11,6 +11,10 @@ on:
|
|||
- '**.md'
|
||||
- '**.rdoc'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }} / ${{ github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
make:
|
||||
strategy:
|
||||
|
|
|
@ -12,6 +12,10 @@ on:
|
|||
- '**.md'
|
||||
- '**.rdoc'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }} / ${{ github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
rubyspec:
|
||||
name: Rubyspec
|
||||
|
|
|
@ -11,6 +11,10 @@ on:
|
|||
- '**.md'
|
||||
- '**.rdoc'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }} / ${{ github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
make:
|
||||
strategy:
|
||||
|
|
|
@ -11,6 +11,10 @@ on:
|
|||
- '**.md'
|
||||
- '**.rdoc'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }} / ${{ github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
make:
|
||||
strategy:
|
||||
|
|
|
@ -11,6 +11,10 @@ on:
|
|||
- '**.md'
|
||||
- '**.rdoc'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }} / ${{ github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
make:
|
||||
strategy:
|
||||
|
|
|
@ -12,6 +12,10 @@ on:
|
|||
- '**.md'
|
||||
- '**.rdoc'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }} / ${{ github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Загрузка…
Ссылка в новой задаче