summaryrefslogtreecommitdiff
path: root/.github/workflows/mingw.yml
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-21 19:17:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-21 19:23:36 +0900
commit784f1e1538401665c1660750748e47b9598da665 (patch)
treea0dcf5e7d44236af463fa745d8c3bfba2f0d73b5 /.github/workflows/mingw.yml
parent1c4f5293640a86b0de47d7d9db44ee1e83a77be1 (diff)
Throttle pull-requests only [ci skip]
Diffstat (limited to '.github/workflows/mingw.yml')
-rw-r--r--.github/workflows/mingw.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml
index 60f5b59ef7..ba8becf4b0 100644
--- a/.github/workflows/mingw.yml
+++ b/.github/workflows/mingw.yml
@@ -12,8 +12,8 @@ on:
- '**.rdoc'
concurrency:
- group: ${{ github.workflow }} / ${{ github.ref_name }}
- cancel-in-progress: true
+ group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
+ cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
# Notes:
# Actions console encoding causes issues, see test-all & test-spec steps