Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix google cloud wif token permissions #10621

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ jobs:
gcs_insert:
if: github.repository_owner == 'ibis-project'
runs-on: ubuntu-latest

# this allows extractions/setup-just to list releases for `just` at a higher
# rate limit while restricting GITHUB_TOKEN permissions elsewhere
permissions:
contents: "read"
# required for GCP workload identity federation
id-token: "write"

steps:
- name: set date
id: set_date
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/ibis-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ on:
# instances of this job running at one time
concurrency: benchmarks-${{ github.repository }}

permissions:
# increase the rate limit for github operations, but limit token permissions
# to read-only
contents: read

jobs:
benchmarks:
runs-on: ubuntu-latest

# this allows extractions/setup-just to list releases for `just` at a higher
# rate limit while restricting GITHUB_TOKEN permissions elsewhere
permissions:
contents: "read"
# required for GCP workload identity federation
id-token: "write"

steps:
- name: checkout
uses: actions/checkout@v4
Expand Down
Loading