From 1deeb9f37226d04b1bf0c7ab63d7d24c3570e4cd Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Thu, 25 Nov 2021 21:21:55 +0100 Subject: [PATCH] Restrict branches for which to run tests. --- .github/workflows/ansible-test.yml | 3 +++ .github/workflows/extra-tests.yml | 3 +++ .github/workflows/import-galaxy.yml | 1 + 3 files changed, 7 insertions(+) diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml index d2a20ca..5451941 100644 --- a/.github/workflows/ansible-test.yml +++ b/.github/workflows/ansible-test.yml @@ -2,6 +2,9 @@ name: CI on: # Run CI against all pushes (direct commits, also merged PRs), Pull Requests push: + branches: + - main + - stable-* pull_request: # Run CI once per day (at 06:00 UTC) schedule: diff --git a/.github/workflows/extra-tests.yml b/.github/workflows/extra-tests.yml index e04bf11..35990ef 100644 --- a/.github/workflows/extra-tests.yml +++ b/.github/workflows/extra-tests.yml @@ -2,6 +2,9 @@ name: extra-tests on: # Run CI against all pushes (direct commits, also merged PRs), Pull Requests push: + branches: + - main + - stable-* pull_request: # Run CI once per day (at 06:00 UTC) # This ensures that even if there haven't been commits that we are still testing against latest version of ansible-test for each ansible-base version diff --git a/.github/workflows/import-galaxy.yml b/.github/workflows/import-galaxy.yml index bb2e488..beb370b 100644 --- a/.github/workflows/import-galaxy.yml +++ b/.github/workflows/import-galaxy.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - stable-* pull_request: env: