Skip to content

Commit 94901a4

Browse files
committed
fixup! fixup! Do not require approval for CI commits on main
1 parent ab452ca commit 94901a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
# SECURITY: Use environment protection for external contributors only
6565
# Push events and internal PRs run without environment protection
6666
# External PRs require manual approval via 'external-testing' environment
67-
environment: ${{ github.event_name == 'push' && '' || (github.event.pull_request.head.repo.full_name == github.repository && '' || 'external-testing') }}
67+
environment: ${{ github.event_name != 'push' && github.event.pull_request.head.repo.full_name != github.repository && 'external-testing' || '' }}
6868
# Run tests with secrets for:
6969
# 1. Push to main (trusted), OR
7070
# 2. PR from same repository (trusted), OR

0 commit comments

Comments
 (0)