Skip to content

Commit 3b735de

Browse files
committed
remove locking pr, add better comment
1 parent 6572151 commit 3b735de

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/close-org-prs.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@ jobs:
3939
owner: context.repo.owner,
4040
repo: context.repo.repo,
4141
issue_number: pr.number,
42-
body: "We don't allow pull requests from organization accounts. This PR has been closed."
43-
});
44-
// Lock the conversation
45-
await github.rest.issues.lock({
46-
owner: context.repo.owner,
47-
repo: context.repo.repo,
48-
issue_number: pr.number,
49-
lock_reason: 'spam'
42+
body: "Please don't open PRs from a fork owned by a different organization rather than your account. It causes GitHub to disable the ability for maintainers to push changes, so we can't update this to prepare it for merge."
5043
});
5144
}

0 commit comments

Comments
 (0)