mirror of
https://github.com/peter-evans/create-or-update-comment.git
synced 2025-02-23 21:30:10 +08:00
Update readme
This commit is contained in:
parent
38214a08ee
commit
2a57ba60e3
@ -60,7 +60,7 @@ This action was created to help facilitate a GitHub Actions "ChatOps" solution i
|
||||
|
||||
Note: In *public* repositories this action does not work in `pull_request` workflows when triggered by forks.
|
||||
Any attempt will be met with the error, `Resource not accessible by integration`.
|
||||
This is due to token restrictions put in place by GitHub Actions. Private repositories can be configured to [enable workflows](https://docs.github.com/en/github/administering-a-repository/disabling-or-limiting-github-actions-for-a-repository#enabling-workflows-for-private-repository-forks) from forks to run without restriction. See [here](https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#restrictions-on-repository-forks) for further explanation. Alternatively, use the [`pull_request_target`](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target) event to comment on pull requests.
|
||||
This is due to token restrictions put in place by GitHub Actions. Private repositories can be configured to [enable workflows](https://docs.github.com/en/github/administering-a-repository/disabling-or-limiting-github-actions-for-a-repository#enabling-workflows-for-private-repository-forks) from forks to run without restriction. See [here](https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#restrictions-on-repository-forks) for further explanation. Alternatively, use the [`pull_request_target`](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target) event to comment on pull requests.
|
||||
|
||||
#### Outputs
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user