This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 5e7acbd69 ci: make token available when verifying binaries (#2308)
5e7acbd69 is described below
commit 5e7acbd693f3b2aff98d10e2c735f044af5eef7a
Author: David Li <[email protected]>
AuthorDate: Thu Nov 7 02:38:31 2024 -0500
ci: make token available when verifying binaries (#2308)
Otherwise GitHub rate-limits us.
Fixes #2307.
---
.github/workflows/verify.yml | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml
index 939456576..bb546eb91 100644
--- a/.github/workflows/verify.yml
+++ b/.github/workflows/verify.yml
@@ -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
@@ -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 }}