Set new run conditions for building
This commit is contained in:
parent
d91417d4ea
commit
5978dfe2ef
2 changed files with 5 additions and 11 deletions
14
.github/workflows/build.yaml
vendored
14
.github/workflows/build.yaml
vendored
|
|
@ -1,15 +1,9 @@
|
||||||
name: build
|
name: build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
workflow_run:
|
||||||
paths:
|
workflows: [PackageUpdate]
|
||||||
- "srcpkgs/**"
|
types: [completed]
|
||||||
types:
|
|
||||||
- opened
|
|
||||||
- reopened
|
|
||||||
- synchronize
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- "srcpkgs/**"
|
- "srcpkgs/**"
|
||||||
|
|
@ -20,7 +14,7 @@ jobs:
|
||||||
changedpkgs:
|
changedpkgs:
|
||||||
name: Check package changes
|
name: Check package changes
|
||||||
runs-on: ubuntu-latest
|
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:
|
outputs:
|
||||||
changed: ${{ steps.grabchanged.outputs.changed }}
|
changed: ${{ steps.grabchanged.outputs.changed }}
|
||||||
|
|
|
||||||
2
.github/workflows/checksum.yaml
vendored
2
.github/workflows/checksum.yaml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: update packages
|
name: PackageUpdate
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue