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
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,4 +66,15 @@ jobs:
66
66
echo Plugin version ${{ steps.setup_sp.outputs.plugin-version }}
67
67
```
68
68
69
+
## Using a GitHub token to avoid rate limiting:
70
+
71
+
When fetching recent SourceMod builds (1.13.7305+), the action queries the GitHub releases API. To avoid rate limiting, pass a GitHub token:
72
+
73
+
```yaml
74
+
- uses: rumblefrog/setup-sp@master
75
+
with:
76
+
version: '1.13.x'
77
+
github-token: ${{ secrets.GITHUB_TOKEN }}
78
+
```
79
+
69
80
A complete workflow example can be found [here](https://github.com/Sarrus1/DiscordWebhookAPI/blob/master/.github/workflows/master.yml).
0 commit comments