From 05668ae3707943853ee8932be5f04a09356cb160 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Tue, 8 Oct 2024 17:36:42 +0300 Subject: [PATCH 1/2] ci: Don't run QNS when a PR is merged Also don't run it on a schedule anymore. --- .github/workflows/qns.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/qns.yml b/.github/workflows/qns.yml index 77e9cdd4c..5e55c188b 100644 --- a/.github/workflows/qns.yml +++ b/.github/workflows/qns.yml @@ -1,16 +1,10 @@ name: QNS - on: - push: - branches: ["main"] - paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"] pull_request: branches: ["main"] + types: [opened, synchronize, reopened, ready_for_review] paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"] merge_group: - schedule: - # Run at 1 AM each day - - cron: '0 1 * * *' workflow_dispatch: concurrency: From deadb43bf91814ee797198e63cf00407c22315f9 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Wed, 9 Oct 2024 11:25:11 +0300 Subject: [PATCH 2/2] Suggestion from @mxinden --- .github/workflows/qns.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/qns.yml b/.github/workflows/qns.yml index 5e55c188b..a918010c1 100644 --- a/.github/workflows/qns.yml +++ b/.github/workflows/qns.yml @@ -1,5 +1,8 @@ name: QNS on: + push: + branches: ["main"] + paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"] pull_request: branches: ["main"] types: [opened, synchronize, reopened, ready_for_review]