From: Jérôme Benoit Date: Sat, 22 Oct 2022 11:08:57 +0000 (+0200) Subject: Partially revert github event usage in GH actions X-Git-Tag: v2.3.6~11 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3273bc66084e53b385be40a312566d9eafaef8f4;p=poolifier.git Partially revert github event usage in GH actions Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cdeb9183..be0d45e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,8 +2,7 @@ name: CI on: push: - branches: - - ${{ github.event.repository.default_branch }} + branches: [master] pull_request: types: [opened, synchronize, reopened] workflow_dispatch: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 719e5743..3e61d69e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,12 +13,10 @@ name: 'CodeQL' on: push: - branches: - - ${{ github.event.repository.default_branch }} + branches: [master] pull_request: # The branches below must be a subset of the branches above - branches: - - ${{ github.event.repository.default_branch }} + branches: [master] schedule: - cron: '44 9 * * 3'