Skip to content

Commit ab452ca

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

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)