Skip to content

Commit fed1647

Browse files
committed
multi-arch-test-build: run it only after the Formality check succeeds
Most of the time, when people want to contribute to the repository for the first time or after a longer break, the multi-arch-test-build passes, but the formality check fails and requires the user to make some changes. This puts quite a load on the CI/CD, since the multi-arch-test-build runs again even though it already passed before. Let’s now set it up so that the formality check is resolved first, and only then the package tests are executed. Signed-off-by: Josef Schlehofer <[email protected]>
1 parent c6ba0ce commit fed1647

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: Feeds Package Test Build
22

33
on:
4-
pull_request:
4+
workflow_run:
5+
workflows: ["Test Formalities"]
6+
types:
7+
- completed
58

69
jobs:
710
build:
811
name: Feeds Package Test Build
12+
if: github.event.workflow_run.conclusion == 'success'
913
uses: openwrt/actions-shared-workflows/.github/workflows/multi-arch-test-build.yml@main

0 commit comments

Comments
 (0)