Fix typo and incorrect conditional in start-ci-run-gate if expression.

This commit is contained in:
Dominion
2023-04-29 11:49:54 -04:00
parent 7aaa1619b8
commit ab9506895a
+1 -1
View File
@@ -54,7 +54,7 @@ jobs:
name: Start CI Run Gate
needs: security-checkpoint
runs-on: ubuntu-latest
if: always() && (needs.security-check.result == 'success' || needs.security-check.result == 'skipped')
if: always() && (needs.security-checkpoint.result == 'success' || (needs.security-checkpoint.result == 'skipped' && (github.event_name == 'push' || github.pull_request.head.repo.id == github.repository.id)))
steps:
- name: GitHub Requires at Least One Step for a Job
run: exit 0