Skip to content

Commit 2996209

Browse files
committed
Tidying up auto-close-pr's yml
1 parent 280ce66 commit 2996209

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/auto-close-external-prs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ name: "Auto-Close External PRs"
33
on:
44
pull_request_target:
55
types: [opened]
6-
workflow_dispatch:
76

87
jobs:
98
close-on-open:
10-
if: github.event_name == 'pull_request_target' && github.event.pull_request.user.login != github.repository_owner
9+
if: github.event.pull_request.user.login != github.repository_owner
1110
runs-on: ubuntu-latest
1211
permissions:
1312
pull-requests: write

0 commit comments

Comments
 (0)