Skip to content

Commit

Permalink
ci: try empty for environment that doesn't require approval
Browse files Browse the repository at this point in the history
  • Loading branch information
zachstence committed Nov 4, 2024
1 parent 2719ceb commit ebb1484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/external-pr-action-approval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
external-pr-action-approval:
name: 'External PR Action Approval'
# github.event_name == 'pull_request_target' &&
environment: ${{ github.event.pull_request.head.repo.full_name != github.repository && 'blah' || 'Approval required to run action on external PR' }}
environment: ${{ github.event.pull_request.head.repo.full_name != github.repository && '' || 'Approval required to run action on external PR' }}
runs-on: ubuntu-latest
steps:
- run: echo "Environment set, waiting for approval if required"

0 comments on commit ebb1484

Please sign in to comment.