Skip to content

Commit

Permalink
Switch pull_request to target in order to test workflows in the PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-bergia committed Feb 25, 2021
1 parent 6615027 commit d4f6cc3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/1-to-n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 'From 1 job to N jobs'
on:
push:
paths: [ '.github/workflows/1-to-n.yml' ]
pull_request:
pull_request_target:
paths: [ '.github/workflows/1-to-n.yml' ]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dynamic-matrices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 'Dynamic matrices'
on:
push:
paths: [ '.github/workflows/dynamic-matrices.yml' ]
pull_request:
pull_request_target:
paths: [ '.github/workflows/dynamic-matrices.yml' ]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ignore-skipped.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 'Ignore skipped'
on:
push:
paths: [ '.github/workflows/ignore-skipped.yml' ]
pull_request:
pull_request_target:
paths: [ '.github/workflows/ignore-skipped.yml' ]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/n-to-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 'From N jobs to 1 job'
on:
push:
paths: [ '.github/workflows/n-to-1.yml' ]
pull_request:
pull_request_target:
paths: [ '.github/workflows/n-to-1.yml' ]

jobs:
Expand Down

0 comments on commit d4f6cc3

Please sign in to comment.