Skip to content

Commit

Permalink
ci: make token available when verifying binaries (apache#2308)
Browse files Browse the repository at this point in the history
Otherwise GitHub rate-limits us.

Fixes apache#2307.
  • Loading branch information
lidavidm authored Nov 7, 2024
1 parent 12a74af commit 5e7acbd
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ on:
required: false
type: string
default: ""
pull_request:
branches:
- main
paths:
- '.github/workflows/verify.yml'
- 'dev/release/verify-release-candidate.sh'
- 'dev/release/verify-release-candidate.ps1'

# Don't automatically run on pull requests. While we're only using a
# read-only token below, let's play it safe since we are running code out of
# the given branch.

permissions:
contents: read
Expand Down Expand Up @@ -70,6 +67,8 @@ jobs:
TEST_BINARIES: "1"
USE_CONDA: "1"
VERBOSE: "1"
# Make this available to download_rc_binaries.py
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
./dev/release/verify-release-candidate.sh ${{ inputs.version }} ${{ inputs.rc }}
Expand Down

0 comments on commit 5e7acbd

Please sign in to comment.