Skip to content

Commit 1b84d5d

Browse files
committed
zizmor auto fix
1 parent 5961900 commit 1b84d5d

File tree

7 files changed

+44
-19
lines changed

7 files changed

+44
-19
lines changed

.github/workflows/cpp-linter.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
pull-requests: write
3535
steps:
3636
- name: Checkout iceberg-cpp
37-
uses: actions/checkout@v6
37+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
38+
with:
39+
persist-credentials: false
3840
- name: Install dependencies
3941
shell: bash
4042
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
@@ -66,5 +68,7 @@ jobs:
6668
- name: Fail fast?!
6769
if: steps.linter.outputs.checks-failed != 0
6870
run: |
69-
echo "some linter checks failed. ${{ steps.linter.outputs.checks-failed }}"
71+
echo "some linter checks failed. ${STEPS_LINTER_OUTPUTS_CHECKS_FAILED}"
7072
exit 1
73+
env:
74+
STEPS_LINTER_OUTPUTS_CHECKS_FAILED: ${{ steps.linter.outputs.checks-failed }}

.github/workflows/docs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,12 @@ jobs:
3737
runs-on: ubuntu-slim
3838

3939
steps:
40-
- uses: actions/checkout@v6
40+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4141
with:
4242
fetch-depth: 1
43+
persist-credentials: false
4344

44-
- uses: actions/setup-python@v6
45+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
4546
with:
4647
python-version: '3.x'
4748

.github/workflows/license_check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ jobs:
2828
runs-on: ubuntu-slim
2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v6
31+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
32+
with:
33+
persist-credentials: false
3234
- name: Check license header
33-
uses: apache/skywalking-eyes@main
35+
uses: apache/skywalking-eyes@61275cc80d0798a405cb070f7d3a8aaf7cf2c2c1 # v0.8.0
3436
env:
3537
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3638
with:

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
pre-commit:
3232
runs-on: ubuntu-slim
3333
steps:
34-
- uses: actions/checkout@v6
35-
- uses: actions/setup-python@v6
34+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
35+
with:
36+
persist-credentials: false
37+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
3638
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

.github/workflows/rc.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
timeout-minutes: 5
3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@v6
37+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
38+
with:
39+
persist-credentials: false
3840

3941
- name: Prepare for tag
4042
if: github.ref_type == 'tag'
@@ -84,9 +86,11 @@ jobs:
8486
CXX: g++-14
8587
steps:
8688
- name: Checkout
87-
uses: actions/checkout@v6
89+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
90+
with:
91+
persist-credentials: false
8892

89-
- uses: actions/download-artifact@v8
93+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
9094
with:
9195
name: archive
9296

@@ -130,9 +134,11 @@ jobs:
130134
contents: write
131135
steps:
132136
- name: Checkout
133-
uses: actions/checkout@v6
137+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
138+
with:
139+
persist-credentials: false
134140

135-
- uses: actions/download-artifact@v8
141+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
136142
with:
137143
name: archive
138144

.github/workflows/sanitizer_test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939
runs-on: ubuntu-24.04
4040
steps:
4141
- name: Checkout iceberg-cpp
42-
uses: actions/checkout@v6
42+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
43+
with:
44+
persist-credentials: false
4345
- name: Install dependencies
4446
shell: bash
4547
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev

.github/workflows/test.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ jobs:
4343
timeout-minutes: 30
4444
steps:
4545
- name: Checkout iceberg-cpp
46-
uses: actions/checkout@v6
46+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
47+
with:
48+
persist-credentials: false
4749
- name: Install dependencies
4850
shell: bash
4951
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
@@ -65,7 +67,9 @@ jobs:
6567
timeout-minutes: 30
6668
steps:
6769
- name: Checkout iceberg-cpp
68-
uses: actions/checkout@v6
70+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
71+
with:
72+
persist-credentials: false
6973
- name: Build Iceberg
7074
shell: bash
7175
run: ci/scripts/build_iceberg.sh $(pwd)
@@ -78,7 +82,9 @@ jobs:
7882
timeout-minutes: 60
7983
steps:
8084
- name: Checkout iceberg-cpp
81-
uses: actions/checkout@v6
85+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
86+
with:
87+
persist-credentials: false
8288
- name: Install dependencies
8389
shell: cmd
8490
run: |
@@ -119,11 +125,13 @@ jobs:
119125
- title: AArch64 macOS 26
120126
runs-on: macos-26
121127
steps:
122-
- uses: actions/setup-python@v6
128+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
123129
with:
124130
python-version: '3.x'
125131
- name: Checkout iceberg-cpp
126-
uses: actions/checkout@v6
132+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
133+
with:
134+
persist-credentials: false
127135
- name: Install build dependencies
128136
run: |
129137
python3 -m pip install --upgrade pip

0 commit comments

Comments
 (0)