Skip to content

Commit a294d1a

Browse files
committed
Merge remote-tracking branch 'upstream/main' into vs-sync-upstream-df-reenable
2 parents 2bdd444 + 01a6a43 commit a294d1a

37 files changed

Lines changed: 1544 additions & 1102 deletions

.github/workflows/audit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ on:
3636
schedule:
3737
- cron: '0 0 * * *'
3838

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

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,14 @@ concurrency:
4040
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
4141
cancel-in-progress: true
4242

43+
permissions:
44+
contents: read
45+
4346
jobs:
4447
check:
4548
runs-on: ${{ matrix.os }}
4649
strategy:
50+
max-parallel: 15
4751
matrix:
4852
os:
4953
- ubuntu-latest
@@ -80,6 +84,7 @@ jobs:
8084
build:
8185
runs-on: ${{ matrix.os }}
8286
strategy:
87+
max-parallel: 15
8388
matrix:
8489
os:
8590
- ubuntu-latest
@@ -105,6 +110,7 @@ jobs:
105110
build_with_no_default_features:
106111
runs-on: ${{ matrix.os }}
107112
strategy:
113+
max-parallel: 15
108114
matrix:
109115
os:
110116
- ubuntu-latest
@@ -125,6 +131,7 @@ jobs:
125131
tests:
126132
runs-on: ubuntu-latest
127133
strategy:
134+
max-parallel: 15
128135
matrix:
129136
test-suite:
130137
- { name: "default", args: "--all-targets --all-features --workspace" }

.github/workflows/ci_typos.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,17 @@ concurrency:
3232
env:
3333
RUST_BACKTRACE: 1
3434

35+
permissions:
36+
contents: read
37+
3538
jobs:
3639
typos-check:
3740
name: typos check
38-
runs-on: ubuntu-latest
41+
runs-on: ubuntu-slim
3942
timeout-minutes: 10
4043
env:
4144
FORCE_COLOR: 1
4245
steps:
4346
- uses: actions/checkout@v6
4447
- name: Check typos
45-
uses: crate-ci/typos@v1.43.3
48+
uses: crate-ci/typos@v1.43.5

.github/workflows/codeql.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
18+
#
19+
20+
name: "CodeQL"
21+
22+
on:
23+
push:
24+
branches: [ "main" ]
25+
pull_request:
26+
branches: [ "main" ]
27+
schedule:
28+
- cron: '16 4 * * 1'
29+
30+
permissions:
31+
contents: read
32+
33+
jobs:
34+
analyze:
35+
name: Analyze Actions
36+
runs-on: ubuntu-slim
37+
permissions:
38+
contents: read
39+
security-events: write
40+
packages: read
41+
42+
steps:
43+
- name: Checkout repository
44+
uses: actions/checkout@v6
45+
46+
- name: Initialize CodeQL
47+
uses: github/codeql-action/init@v4
48+
with:
49+
languages: actions
50+
51+
- name: Perform CodeQL Analysis
52+
uses: github/codeql-action/analyze@v4
53+
with:
54+
category: "/language:actions"

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,15 @@ on:
2626
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
2727
workflow_dispatch:
2828

29+
permissions:
30+
contents: read
31+
2932
jobs:
3033
publish:
3134
runs-on: ubuntu-latest
3235
strategy:
3336
# Publish package one by one instead of flooding the registry
34-
max-parallel: 1
37+
max-parallel: 15
3538
matrix:
3639
# Order here is sensitive, as it will be used to determine the order of publishing
3740
package:

.github/workflows/release_python.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,14 @@ jobs:
5555
# Use input for workflow_dispatch, otherwise use `workflow_run.head_branch`
5656
# Note, `workflow_run.head_branch` does not contain `refs/tags/` prefix, just the tag name, i.e. `v0.4.0` or `v0.4.0-rc.1`
5757
# Valid formats: v<major>.<minor>.<patch> OR v<major>.<minor>.<patch>-rc.<release_candidate>
58+
env:
59+
DISPATCH_RELEASE_TAG: ${{ github.event.inputs.release_tag }}
60+
RUN_HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
5861
run: |
5962
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
60-
RELEASE_TAG="${{ github.event.inputs.release_tag }}"
63+
RELEASE_TAG="$DISPATCH_RELEASE_TAG"
6164
else
62-
RELEASE_TAG="${{ github.event.workflow_run.head_branch }}"
65+
RELEASE_TAG="$RUN_HEAD_BRANCH"
6366
fi
6467
echo "Validating release tag: $RELEASE_TAG"
6568
if [[ ! "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?$ ]]; then
@@ -142,6 +145,7 @@ jobs:
142145
runs-on: "${{ matrix.os }}"
143146
needs: [validate-release-tag]
144147
strategy:
148+
max-parallel: 15
145149
matrix:
146150
include:
147151
- { os: windows-latest }

.github/workflows/release_python_nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
if: github.repository == 'apache/iceberg-rust' # Only run for apache repo
6464
runs-on: "${{ matrix.os }}"
6565
strategy:
66+
max-parallel: 15
6667
matrix:
6768
include:
6869
- { os: windows-latest }

.github/workflows/stale.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,28 @@
1717
# under the License.
1818
#
1919

20-
name: "Close Stale Issues"
20+
name: "Close Stale Issues and PRs"
2121
on:
2222
schedule:
2323
- cron: '0 0 * * *'
2424

2525
permissions:
2626
# All other permissions are set to none
2727
issues: write
28+
pull-requests: write
2829

2930
jobs:
3031
stale:
3132
if: github.repository_owner == 'apache'
32-
runs-on: ubuntu-22.04
33+
runs-on: ubuntu-24.04
3334
steps:
34-
- uses: actions/stale@v10.1.1
35+
- uses: actions/stale@v10.2.0
3536
with:
36-
stale-issue-label: 'stale'
37+
# stale issues
38+
stale-issue-label: 'stale,security'
3739
exempt-issue-labels: 'not-stale'
3840
days-before-issue-stale: 180
3941
days-before-issue-close: 14
40-
# Only close stale issues, leave PRs alone
41-
days-before-pr-stale: -1
4242
stale-issue-message: >
4343
This issue has been automatically marked as stale because it has been open for 180 days
4444
with no activity. It will be closed in next 14 days if no further activity occurs. To
@@ -47,3 +47,12 @@ jobs:
4747
close-issue-message: >
4848
This issue has been closed because it has not received any activity in the last 14 days
4949
since being marked as 'stale'
50+
# stale PRs
51+
stale-pr-label: 'stale'
52+
exempt-pr-labels: 'not-stale,security'
53+
stale-pr-message: 'This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.'
54+
close-pr-message: 'This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.'
55+
days-before-pr-stale: 30
56+
days-before-pr-close: 7
57+
ascending: true
58+
operations-per-run: 200

.github/workflows/website.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ concurrency:
3030
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
3131
cancel-in-progress: true
3232

33+
permissions:
34+
contents: read
35+
3336
jobs:
3437
build:
3538
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)