Skip to content

Commit

Permalink
Add a note that this action does not work for PRs from forks (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
superbrothers authored Apr 20, 2020
1 parent 2fc4fdc commit c9be55e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

A GitHub action to automatically close a pull request.

Note that only pull requests being opened from the same repository can be closed. This action will not currently work for pull requests from forks -- like is common in open source projects -- because the token for forked pull request workflows does not have write permissions.

## Usage

This Action subscribes to `pull_request` events. When receiving a `pull_request` event, this action closes the pull request triggered by the event immediately.
Expand Down

0 comments on commit c9be55e

Please sign in to comment.