1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

.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
This commit is contained in:
卜部昌平 2020-02-26 12:52:07 +09:00
parent bdf2d91326
commit e06ad731f0
Notes: git 2020-03-02 14:53:32 +09:00
5 changed files with 5 additions and 35 deletions

View file

@ -1,11 +1,5 @@
name: macOS name: macOS
on: on: [push, pull_request]
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs: jobs:
make: make:
runs-on: macos-latest runs-on: macos-latest

View file

@ -1,11 +1,5 @@
name: MinGW name: MinGW
on: on: [push, pull_request]
push:
branches:
- '*'
pull_request:
branches:
- '*'
# Notes: # Notes:
# Action ENV TEMP and TMP are short 8.3 paths, but the long path differs. # Action ENV TEMP and TMP are short 8.3 paths, but the long path differs.

View file

@ -1,11 +1,5 @@
name: MJIT name: MJIT
on: on: [push, pull_request]
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs: jobs:
make: make:
strategy: strategy:

View file

@ -1,11 +1,5 @@
name: Ubuntu name: Ubuntu
on: on: [push, pull_request]
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs: jobs:
make: make:
strategy: strategy:

View file

@ -1,11 +1,5 @@
name: Windows name: Windows
on: on: [push, pull_request]
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs: jobs:
make: make:
strategy: strategy: