You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the GITHUB_TOKEN to avoid exceeding the API rate limit
As of a few days ago, plenty of workflow runs in git/git,
gitgitgadget/git and git-for-windows/git failed with message like this:
Error: API rate limit exceeded for 172.176.196.48. (But here's
the good news: Authenticated requests get a higher rate limit.
Check out the documentation for more details.)
So let's try this.
Signed-off-by: Johannes Schindelin <[email protected]>
Copy file name to clipboardExpand all lines: action.yml
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,13 @@ inputs:
33
33
required: false
34
34
description: 'Use @actions/cache to accelerate this Action'
35
35
default: 'auto'
36
+
github-token:
37
+
description: >
38
+
Personal access token (PAT) used to call into GitHub's REST API.
39
+
We recommend using a service account with the least permissions necessary.
40
+
Also when generating a new PAT, select the least scopes necessary.
41
+
[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
0 commit comments