@@ -158,18 +158,16 @@ jobs:
158
158
Restrictions on Forks
159
159
---------------------
160
160
161
- Github Actions imposes higher Restrictions on workflows triggered from forks in public repositories, where the
162
- default token generated will have only read permissions.
161
+ Github Actions [ imposes higher Restrictions on workflows triggered from forks in public repositories][fork],
162
+ where the default token generated will have only read permissions.
163
163
164
164
Because of that when this Action is run on pull requests from forks no comment will be created with the
165
- coverage report, instead only the summary will be created on the running workflow
166
-
167
- This Action can't provide all the features when using forks to public repositories, this happens because
168
- Github limits the permissions on the auto-generated token used to add/update comments to the pull request.
169
- This is not a limitation for private repositories or pull requests that the head branch is in the same
170
- repository.
165
+ coverage report, instead the report will only be shown at the steps summary.
171
166
167
+ 
172
168
169
+ If comments on pull request from forks are required for your workflow a [PAT](pat) can be used, but be aware
170
+ that doing that may open the owner of the PAT to the malicious intentions of the internet.
173
171
174
172
[CHANGELOG](CHANGELOG.md)
175
173
---------
@@ -178,3 +176,4 @@ repository.
178
176
[pat]: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
179
177
[lang]: https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Intl#argumento_locales
180
178
[default-token]: https://docs.github.com/en/actions/security-guides/automatic-token-authentication
179
+ [fork]: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
0 commit comments