Unverified Commit 0c84746b authored by Wieland Morgenstern's avatar Wieland Morgenstern Committed by GitHub

Run builds only once on pull requests

Pushing a branch and creating a pull request would run all the builds twice with the previous formulation.

Trying the yml from here: https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662/3
parent 1c05b0d3
name: Build name: Build
on: [push, pull_request] on:
push:
branches:
- master
pull_request:
jobs: jobs:
LinuxCuda: LinuxCuda:
......
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