Skip to content

Commit

Permalink
use workflow token for release uploads
Browse files Browse the repository at this point in the history
because the nflverse token sometimes is exhausted
  • Loading branch information
mrcaseb committed Oct 7, 2024
1 parent bcbdb09 commit 7db8f96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update_players.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
name: update_setup
env:
GH_TOKEN: ${{ secrets.NFLVERSE_GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FULL_REBUILD: ${{ inputs.full_rebuild || false }}
SEASON_REBUILD: ${{ inputs.season_rebuild || 9999 }}
outputs:
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
season: ${{ fromJson(needs.update_setup.outputs.seasons) }}
type: ["roster", "raw_draft"]
env:
GH_TOKEN: ${{ secrets.NFLVERSE_GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PAT: ${{ secrets.NFLVERSE_GH_TOKEN }}
NFLVERSE_UPDATE_SEASON: ${{ matrix.season }}
NFLVERSE_UPDATE_TYPE: ${{ matrix.type }}
Expand All @@ -84,7 +84,7 @@ jobs:
matrix:
type: ["basis", "pfr", "otc", "draft"]
env:
GH_TOKEN: ${{ secrets.NFLVERSE_GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PAT: ${{ secrets.NFLVERSE_GH_TOKEN }}
NFLVERSE_UPDATE_TYPE: ${{ matrix.type }}
PLAYERS_PFR_REBUILD: ${{ inputs.full_rebuild || false }}
Expand All @@ -110,7 +110,7 @@ jobs:
strategy:
fail-fast: false
env:
GH_TOKEN: ${{ secrets.NFLVERSE_GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PAT: ${{ secrets.NFLVERSE_GH_TOKEN }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 7db8f96

Please sign in to comment.