From 3273bc66084e53b385be40a312566d9eafaef8f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 22 Oct 2022 13:08:57 +0200 Subject: [PATCH] Partially revert github event usage in GH actions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 3 +-- .github/workflows/codeql-analysis.yml | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) 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' -- 2.34.1