Skip to content

Commit

Permalink
ci: use github PAT to avoid 429 rate limits
Browse files Browse the repository at this point in the history
  • Loading branch information
EspenAlbert committed Aug 20, 2023
1 parent c7e6a52 commit dc798cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT }}
- uses: actions/setup-python@v4
with:
python-version: '3.9'
Expand All @@ -14,6 +16,8 @@ jobs:
python-version: '3.11'
- name: Initialize Pants
uses: pantsbuild/actions/init-pants@main
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
with:
# cache0 makes it easy to bust the cache if needed
gha-cache-key: cache0-py-3-10
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT }}
- uses: actions/setup-python@v4
with:
python-version: 3.x
Expand Down

0 comments on commit dc798cc

Please sign in to comment.