Skip to content

Commit cf40836

Browse files
fml
1 parent 2eaceee commit cf40836

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,5 @@ jobs:
6666
echo "is allowed branch: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/testing-oidc-trusted-publishing' }}"
6767
echo ""
6868
echo "=== Full condition would be ==="
69-
echo "Result: ${{ always() && (needs.build.result == 'failure' || needs.check.result == 'failure' || needs.release.result == 'failure') && github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/testing-oidc-trusted-publishing') }}"
69+
echo "any job failed AND push event: ${{ (needs.build.result == 'failure' || needs.check.result == 'failure' || needs.release.result == 'failure') && github.event_name == 'push' }}"
70+
echo "all conditions: ${{ (needs.build.result == 'failure' || needs.check.result == 'failure' || needs.release.result == 'failure') && github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/testing-oidc-trusted-publishing') }}"

0 commit comments

Comments
 (0)