Skip to content

Commit

Permalink
Merge pull request #5608 from piotrkwiecinski/github-actions-triggers
Browse files Browse the repository at this point in the history
prevent CI creating 2 events on each pull request push
  • Loading branch information
sylvestre committed Dec 2, 2023
2 parents 22f91b0 + 4d2bdf4 commit 6d0ffe9
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/CICD.yml
Expand Up @@ -15,7 +15,11 @@ env:
# * style job configuration
STYLE_FAIL_ON_FAULT: true ## (bool) fail the build if a style job contains a fault (error or warning); may be overridden on a per-job basis

on: [push, pull_request]
on:
pull_request:
push:
branches:
- main

permissions:
contents: read # to fetch code (actions/checkout)
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/GnuTests.yml
Expand Up @@ -9,7 +9,11 @@ name: GnuTests

# * note: to run a single test => `REPO/util/run-gnu-test.sh PATH/TO/TEST/SCRIPT`

on: [push, pull_request]
on:
pull_request:
push:
branches:
- main

permissions:
contents: read
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/android.yml
Expand Up @@ -2,7 +2,12 @@ name: Android

# spell-checker:ignore TERMUX reactivecircus Swatinem noaudio pkill swiftshader dtolnay juliangruber

on: [push, pull_request]
on:
pull_request:
push:
branches:
- main


permissions:
contents: read # to fetch code (actions/checkout)
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/code-quality.yml
Expand Up @@ -2,7 +2,11 @@ name: Code Quality

# spell-checker:ignore TERMUX reactivecircus Swatinem noaudio pkill swiftshader dtolnay juliangruber

on: [push, pull_request]
on:
pull_request:
push:
branches:
- main

env:
# * style job configuration
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/freebsd.yml
Expand Up @@ -6,7 +6,11 @@ env:
# * style job configuration
STYLE_FAIL_ON_FAULT: true ## (bool) fail the build if a style job contains a fault (error or warning); may be overridden on a per-job basis

on: [push, pull_request]
on:
pull_request:
push:
branches:
- main

permissions:
contents: read # to fetch code (actions/checkout)
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/fuzzing.yml
Expand Up @@ -2,7 +2,11 @@ name: Fuzzing

# spell-checker:ignore fuzzer

on: [push, pull_request]
on:
pull_request:
push:
branches:
- main

permissions:
contents: read # to fetch code (actions/checkout)
Expand Down

0 comments on commit 6d0ffe9

Please sign in to comment.