Skip to content

Commit 8759f49

Browse files
authored
Merge branch 'main' into jx2lee/commit-table-in-bigquery
2 parents 9d06a3f + 401c297 commit 8759f49

38 files changed

+1509
-464
lines changed

.github/ISSUE_TEMPLATE/iceberg_bug_report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ body:
2828
description: What Apache Iceberg version are you using?
2929
multiple: false
3030
options:
31-
- "0.10.0 (latest release)"
31+
- "0.11.0 (latest release)"
32+
- "0.10.0"
3233
- "0.9.1"
3334
- "0.9.0"
3435
- "0.8.1"

.github/workflows/check-md-link.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ on:
3232
- 'mkdocs/**'
3333
workflow_dispatch:
3434

35+
permissions:
36+
contents: read
37+
3538
jobs:
3639
markdown-link-check:
3740
runs-on: ubuntu-latest

.github/workflows/codeql.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,21 @@ on:
2727
schedule:
2828
- cron: '16 4 * * 1'
2929

30+
permissions:
31+
contents: read
32+
3033
jobs:
3134
analyze:
3235
name: Analyze Actions
33-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-slim
3437
permissions:
38+
contents: read
3539
security-events: write
3640
packages: read
3741

3842
steps:
3943
- name: Checkout repository
40-
uses: actions/checkout@v4
44+
uses: actions/checkout@v6
4145

4246
- name: Initialize CodeQL
4347
uses: github/codeql-action/init@v4

.github/workflows/license_check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
name: "Run License Check"
2121
on: pull_request
2222

23+
permissions:
24+
contents: read
25+
2326
jobs:
2427
rat:
2528
runs-on: ubuntu-latest

.github/workflows/nightly-pypi-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ on:
2424
- cron: "0 0 * * *" # Runs at midnight UTC every day
2525
workflow_dispatch: # Allows manual triggering
2626

27+
permissions:
28+
contents: read
29+
2730
jobs:
2831
set-version:
2932
if: github.repository == 'apache/iceberg-python' # Only run for apache repo
@@ -71,7 +74,7 @@ jobs:
7174

7275
steps:
7376
- name: Download all the artifacts
74-
uses: actions/download-artifact@v7
77+
uses: actions/download-artifact@v8
7578
with:
7679
merge-multiple: true
7780
path: dist/

.github/workflows/pypi-build-artifacts.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ on:
2626
required: true
2727
type: string
2828

29+
permissions:
30+
contents: read
31+
2932
jobs:
3033
pypi-build-artifacts:
3134
name: Build artifacts for PyPi on ${{ matrix.os }}
@@ -63,7 +66,7 @@ jobs:
6366
if: matrix.os == 'ubuntu-latest'
6467

6568
- name: Build wheels
66-
uses: pypa/cibuildwheel@v3.3.1
69+
uses: pypa/cibuildwheel@v3.4.0
6770
with:
6871
output-dir: wheelhouse
6972
config-file: "pyproject.toml"

.github/workflows/python-ci-docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,17 @@ on:
2525
- 'main'
2626
pull_request:
2727

28+
permissions:
29+
contents: read
30+
2831

2932
concurrency:
3033
group: ${{ github.workflow }}-${{ github.ref }}
3134
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
3235

3336
jobs:
3437
docs:
35-
runs-on: ubuntu-latest
38+
runs-on: ubuntu-slim
3639

3740
steps:
3841
- uses: actions/checkout@v6

.github/workflows/python-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ on:
3838
- '!LICENSE'
3939
- '!NOTICE'
4040

41+
permissions:
42+
contents: read
43+
4144
concurrency:
4245
group: ${{ github.workflow }}-${{ github.ref }}
4346
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
@@ -194,7 +197,7 @@ jobs:
194197
- name: Install dependencies
195198
run: uv sync --group dev
196199
- name: Download all coverage artifacts
197-
uses: actions/download-artifact@v7
200+
uses: actions/download-artifact@v8
198201
with:
199202
pattern: coverage-*
200203
merge-multiple: true

.github/workflows/python-release-docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,24 @@ name: "Release Docs"
2121
on:
2222
workflow_dispatch:
2323

24+
permissions:
25+
contents: read
26+
2427
concurrency:
2528
group: ${{ github.workflow }}-${{ github.ref }}
2629
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
2730

2831
jobs:
2932
docs:
3033
runs-on: ubuntu-latest
34+
permissions:
35+
contents: write
3136

3237
steps:
3338
- uses: actions/checkout@v6
3439
- uses: actions/setup-python@v6
3540
with:
36-
python-version: ${{ matrix.python }}
41+
python-version: 3.12
3742
- name: Install UV
3843
uses: astral-sh/setup-uv@v7
3944
- name: Build docs

.github/workflows/python-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ on:
3636
type: number
3737
required: true
3838

39+
permissions:
40+
contents: read
41+
3942
jobs:
4043
validate-inputs:
4144
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)