Update pr-validate.yaml
Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
This commit is contained in:
@@ -76,6 +76,9 @@ jobs:
|
|||||||
echo "PR title: ${{ github.event.pull_request.title }}"
|
echo "PR title: ${{ github.event.pull_request.title }}"
|
||||||
|
|
||||||
finished:
|
finished:
|
||||||
|
name: Finished PR Tests
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: always()
|
||||||
needs:
|
needs:
|
||||||
- pr-changes
|
- pr-changes
|
||||||
- containers-build
|
- containers-build
|
||||||
@@ -83,12 +86,20 @@ jobs:
|
|||||||
- charts-test
|
- charts-test
|
||||||
- website-and-docs
|
- website-and-docs
|
||||||
- print_head_msg
|
- print_head_msg
|
||||||
name: Finished PR Tests
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
steps:
|
||||||
- name: Finisher
|
- name: Check Results
|
||||||
run: |
|
run: |
|
||||||
echo "DONE"
|
if [[ "${{ needs.pr-changes.result }}" != "success" || \
|
||||||
|
"${{ needs.containers-build.result }}" != "success" || \
|
||||||
|
"${{ needs.charts-lint.result }}" != "success" || \
|
||||||
|
"${{ needs.charts-test.result }}" != "success" || \
|
||||||
|
"${{ needs.website-and-docs.result }}" != "success" || \
|
||||||
|
"${{ needs.print_head_msg.result }}" != "success" ]]; then
|
||||||
|
echo "One or more jobs failed!"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "All jobs succeeded!"
|
||||||
|
fi
|
||||||
|
|
||||||
automerge-and-approve:
|
automerge-and-approve:
|
||||||
needs:
|
needs:
|
||||||
|
|||||||
Reference in New Issue
Block a user