Skip to content

Commit

Permalink
ci: test with pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
zachstence committed Nov 4, 2024
1 parent 8e40eee commit 3a81a37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/set-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
jobs:
set-environment:
env:
ENVIRONMENT: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'pr-from-fork' || 'none' }}
# github.event_name == 'pull_request_target' &&
ENVIRONMENT: ${{ github.event.pull_request.head.repo.full_name != github.repository && 'pr-from-fork' || 'none' }}
environment: ${{ env.ENVIRONMENT }}
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-set-environment.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Test set-environment'

on:
pull_request_target:
pull_request:

jobs:
test-set-environment:
Expand Down

0 comments on commit 3a81a37

Please sign in to comment.