From e06ad731f03ab83b72c15f951d7a5a3c8ac4323c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Wed, 26 Feb 2020 12:52:07 +0900 Subject: .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 --- .github/workflows/macos.yml | 8 +------- .github/workflows/mingw.yml | 8 +------- .github/workflows/mjit.yml | 8 +------- .github/workflows/ubuntu.yml | 8 +------- .github/workflows/windows.yml | 8 +------- 5 files changed, 5 insertions(+), 35 deletions(-) (limited to '.github') 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: -- cgit v1.2.3