Skip to content

Commit

Permalink
Add limitation note to README.md
Browse files Browse the repository at this point in the history
This action does not work with Pull Reuqest from forked repository, because `GITHUB_TOKEN` used on that condition does not have write access to checks APIs.**
  • Loading branch information
norio-nomura committed Nov 4, 2019
1 parent 813de29 commit 3e1d57e
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 @@ -29,6 +29,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
**Limitation: This action does not work with Pull Reuqest from forked repository, because `GITHUB_TOKEN` used on that condition does not have write access to checks APIs.**

## Secrets

- Specifying `GITHUB_TOKEN` to `secrets` is required to using [Check Run APIs](https://developer.github.com/v3/checks/runs/) for generating annotations from SwiftLint Violations.
Expand Down

0 comments on commit 3e1d57e

Please sign in to comment.