Set new run conditions for building

This commit is contained in:
Marty Oehme 2025-06-23 22:23:29 +02:00
parent d91417d4ea
commit 5978dfe2ef
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 5 additions and 11 deletions

View file

@ -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 }}

View file

@ -1,4 +1,4 @@
name: update packages
name: PackageUpdate
on:
pull_request: