From 861a64df63a3bfa8f7f8554554b8a01a79a30fcd Mon Sep 17 00:00:00 2001 From: Almamu Date: Sat, 11 May 2024 20:20:37 +0200 Subject: [PATCH] fix: do not run aur update if workflows failed --- .github/workflows/arch.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml index ce01a18..4c20d9d 100644 --- a/.github/workflows/arch.yml +++ b/.github/workflows/arch.yml @@ -1,15 +1,19 @@ name: Arch Linux AUR Package Update on: - push: - branches: ["main"] + workflow_run: + workflows: [cmake] + branches: [main] + types: [completed] jobs: publish: runs-on: ubuntu-latest steps: + - name: Checkout uses: actions/checkout@v2 + - uses: ahmadnassri/action-workflow-run-wait@v1 - name: Publish parallel-disk-usage to the AUR uses: KSXGitHub/github-actions-deploy-aur@v2.7.1