diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-04-08 11:54:31 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-04-08 14:19:08 +0200 |
commit | 6435aaa70b646faf60047261fa4ed7fa86747612 (patch) | |
tree | f73384c50b5e670849600f95e23e49210971b9f8 /.github/workflows/macos.yml | |
parent | 4d939ef6ceb2db19382848471d13685ee1607a8a (diff) | |
download | curl-6435aaa70b646faf60047261fa4ed7fa86747612.tar.gz |
github actions: run when pushed to master or */ci + PRs
Avoid double-builds when using "local" branches for PRs. For both macos
and fuzz jobs.
Closes #5201
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r-- | .github/workflows/macos.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 36eb46d63..6c76ca78a 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,6 +1,15 @@ name: CI
-on: [push, pull_request]
+on:
+ # Trigger the workflow on push or pull requests, but only for the
+ # master branch
+ push:
+ branches:
+ - master
+ - '*/ci'
+ pull_request:
+ branches:
+ - master
jobs:
autotools:
|