Skip to content

Commit 538f7da

Browse files
committed
zizmor auto fix
1 parent 6521aa5 commit 538f7da

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
@@ -52,7 +52,9 @@ jobs:
5252
AWS_EC2_METADATA_DISABLED: "TRUE"
5353
steps:
5454
- name: Checkout iceberg-cpp
55-
uses: actions/checkout@v6
55+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
56+
with:
57+
persist-credentials: false
5658
- name: Install dependencies
5759
shell: bash
5860
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
@@ -86,7 +88,9 @@ jobs:
8688
AWS_EC2_METADATA_DISABLED: "TRUE"
8789
steps:
8890
- name: Checkout iceberg-cpp
89-
uses: actions/checkout@v6
91+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
92+
with:
93+
persist-credentials: false
9094
- name: Start MinIO
9195
shell: bash
9296
run: bash ci/scripts/start_minio.sh
@@ -111,7 +115,9 @@ jobs:
111115
AWS_EC2_METADATA_DISABLED: "TRUE"
112116
steps:
113117
- name: Checkout iceberg-cpp
114-
uses: actions/checkout@v6
118+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
119+
with:
120+
persist-credentials: false
115121
- name: Install dependencies
116122
shell: cmd
117123
run: |
@@ -155,11 +161,13 @@ jobs:
155161
- title: AArch64 macOS 26
156162
runs-on: macos-26
157163
steps:
158-
- uses: actions/setup-python@v6
164+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
159165
with:
160166
python-version: '3.x'
161167
- name: Checkout iceberg-cpp
162-
uses: actions/checkout@v6
168+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
169+
with:
170+
persist-credentials: false
163171
- name: Install build dependencies
164172
run: |
165173
python3 -m pip install --upgrade pip

0 commit comments

Comments
 (0)