From 5978dfe2efc5d73870c68034985d6745c8a6ae43 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 23 Jun 2025 22:23:29 +0200 Subject: [PATCH] Set new run conditions for building --- .github/workflows/build.yaml | 14 ++++---------- .github/workflows/checksum.yaml | 2 +- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cd0b5e4..81d939b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,15 +1,9 @@ name: build on: - pull_request: - paths: - - "srcpkgs/**" - types: - - opened - - reopened - - synchronize - branches: - - main + workflow_run: + workflows: [PackageUpdate] + types: [completed] push: paths: - "srcpkgs/**" @@ -20,7 +14,7 @@ jobs: changedpkgs: name: Check package changes runs-on: ubuntu-latest - if: "!contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')" + if: "${{ github.event.workflow_run.conclusion == 'success' }} && !contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')" outputs: changed: ${{ steps.grabchanged.outputs.changed }} diff --git a/.github/workflows/checksum.yaml b/.github/workflows/checksum.yaml index 18100c8..c99aded 100644 --- a/.github/workflows/checksum.yaml +++ b/.github/workflows/checksum.yaml @@ -1,4 +1,4 @@ -name: update packages +name: PackageUpdate on: pull_request: