From: Daniel Stenberg Date: Wed, 8 Apr 2020 09:54:31 +0000 (+0200) Subject: github actions: run when pushed to master or */ci + PRs X-Git-Tag: curl-7_70_0~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6435aaa70b646faf60047261fa4ed7fa86747612;p=thirdparty%2Fcurl.git 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 --- diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index ca149d988f..f46fa6c4e5 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.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: fuzzing: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 36eb46d635..6c76ca78a8 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: