Commit 5fcd34bd authored by Maurits van Rees's avatar Maurits van Rees Committed by GitHub

Merge pull request #619 from buildout/maurits-no-double-gh-actions-master

Prevent running gh-actions twice for push/pull.
parents b5fc31fd 343519a7
name: Centos containers name: Centos containers
on: [push, pull_request] on:
push:
pull_request:
# Allow to run this workflow manually from the Actions tab
workflow_dispatch:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
......
name: Debian container with system Python name: Debian container with system Python
on: [push, pull_request] on:
push:
pull_request:
# Allow to run this workflow manually from the Actions tab
workflow_dispatch:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
......
name: Debian containers name: Debian containers
on: [push, pull_request] on:
push:
pull_request:
# Allow to run this workflow manually from the Actions tab
workflow_dispatch:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
......
name: Ubuntu, MacOS, Windows machines name: Ubuntu, MacOS, Windows machines
on: [push, pull_request] on:
push:
pull_request:
# Allow to run this workflow manually from the Actions tab
workflow_dispatch:
jobs: jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment