From b6191cbc76a9d8b598ab6af6bdd224ca35460d7f Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Tue, 12 Sep 2023 11:48:30 +0300 Subject: [PATCH] CI: don't run wlroots update in PRs --- .github/workflows/nix-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/nix-ci.yml b/.github/workflows/nix-ci.yml index fccd4d09..f0de7f5c 100644 --- a/.github/workflows/nix-ci.yml +++ b/.github/workflows/nix-ci.yml @@ -4,10 +4,12 @@ on: [push, pull_request, workflow_dispatch] jobs: wlroots: + if: github.event_name != 'pull_request' uses: ./.github/workflows/nix-update-wlroots.yml secrets: inherit build: + if: always() && !cancelled() && !contains(needs.*.result, 'failure') needs: wlroots uses: ./.github/workflows/nix-build.yml secrets: inherit