summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-02-26 12:52:07 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-03-02 14:53:05 +0900
commite06ad731f03ab83b72c15f951d7a5a3c8ac4323c (patch)
tree850368cb396c06d54834c3a2016f594e1c1ea620 /.github
parentbdf2d9132651c09f99f2ebb6ff82f47bbcad226d (diff)
.github: less verbose on: specifier
The `branch:` specifier was necessary before, to prevent double-testing master and trunk. Now that we no longer have trunk, we can slim the expressions. See also: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#on
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2927
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos.yml8
-rw-r--r--.github/workflows/mingw.yml8
-rw-r--r--.github/workflows/mjit.yml8
-rw-r--r--.github/workflows/ubuntu.yml8
-rw-r--r--.github/workflows/windows.yml8
5 files changed, 5 insertions, 35 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 7203db371d..dcfc0bd587 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -1,11 +1,5 @@
name: macOS
-on:
- push:
- branches:
- - '*'
- pull_request:
- branches:
- - '*'
+on: [push, pull_request]
jobs:
make:
runs-on: macos-latest
diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml
index 1596adef49..508e01868f 100644
--- a/.github/workflows/mingw.yml
+++ b/.github/workflows/mingw.yml
@@ -1,11 +1,5 @@
name: MinGW
-on:
- push:
- branches:
- - '*'
- pull_request:
- branches:
- - '*'
+on: [push, pull_request]
# Notes:
# Action ENV TEMP and TMP are short 8.3 paths, but the long path differs.
diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml
index d87f4fbba3..b3d7fd1799 100644
--- a/.github/workflows/mjit.yml
+++ b/.github/workflows/mjit.yml
@@ -1,11 +1,5 @@
name: MJIT
-on:
- push:
- branches:
- - '*'
- pull_request:
- branches:
- - '*'
+on: [push, pull_request]
jobs:
make:
strategy:
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 9d8e44f425..0246689ccf 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -1,11 +1,5 @@
name: Ubuntu
-on:
- push:
- branches:
- - '*'
- pull_request:
- branches:
- - '*'
+on: [push, pull_request]
jobs:
make:
strategy:
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 3e466fd441..c2f8f7490a 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -1,11 +1,5 @@
name: Windows
-on:
- push:
- branches:
- - '*'
- pull_request:
- branches:
- - '*'
+on: [push, pull_request]
jobs:
make:
strategy: