Skip to content

Commit d80e435

Browse files
committed
Use the GitHub Action version alias
1 parent a22a388 commit d80e435

File tree

5 files changed

+49
-49
lines changed

5 files changed

+49
-49
lines changed

.github/workflows/comment_bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
if: github.event.comment.body == 'take'
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
33+
- uses: actions/github-script@v7
3434
with:
3535
github-token: ${{ secrets.GITHUB_TOKEN }}
3636
script: |-

.github/workflows/dev_pr.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,35 +42,35 @@ jobs:
4242
name: "Ensure PR format"
4343
runs-on: ubuntu-latest
4444
steps:
45-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
45+
- uses: actions/checkout@v4
4646
with:
4747
fetch-depth: 0
4848
persist-credentials: false
4949

5050
- name: Ensure PR title format
5151
id: title-format
52-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
52+
uses: actions/github-script@v7
5353
with:
5454
script: |
5555
const scripts = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/dev_pr.js`);
5656
return scripts.check_title_format({core, github, context});
5757
5858
- name: Label PR
59-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
59+
uses: actions/github-script@v7
6060
with:
6161
script: |
6262
const scripts = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/dev_pr.js`);
6363
await scripts.apply_labels({core, github, context});
6464
6565
- name: Ensure PR is labeled
66-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
66+
uses: actions/github-script@v7
6767
with:
6868
script: |
6969
const scripts = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/dev_pr.js`);
7070
await scripts.check_labels({core, github, context});
7171
7272
- name: Ensure PR is linked to an issue
73-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
73+
uses: actions/github-script@v7
7474
with:
7575
script: |
7676
const scripts = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/dev_pr.js`);

.github/workflows/rc.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
timeout-minutes: 5
3939
steps:
4040
- name: Checkout
41-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
41+
uses: actions/checkout@v4
4242
with:
4343
submodules: recursive
4444
- name: Prepare for tag
@@ -71,7 +71,7 @@ jobs:
7171
run: |
7272
dev/release/run_rat.sh "${TAR_GZ}"
7373
- name: Upload source archive
74-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
74+
uses: actions/upload-artifact@v4
7575
with:
7676
name: release-source
7777
path: |
@@ -101,7 +101,7 @@ jobs:
101101
packages: write
102102
steps:
103103
- name: Download source archive
104-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
104+
uses: actions/download-artifact@v4
105105
with:
106106
name: release-source
107107
- name: Extract source archive
@@ -119,17 +119,17 @@ jobs:
119119
# ci/scripts/download_cpp.sh
120120
- name: Checkout Apache Arrow C++
121121
# if: github.event_name == 'schedule'
122-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
122+
uses: actions/checkout@v4
123123
with:
124124
repository: apache/arrow
125125
path: arrow
126126
- name: Checkout apache/arrow-testing
127-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
127+
uses: actions/checkout@v4
128128
with:
129129
repository: apache/arrow-testing
130130
path: arrow/testing
131131
- name: Checkout apache/parquet-testing
132-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
132+
uses: actions/checkout@v4
133133
with:
134134
repository: apache/parquet-testing
135135
path: arrow/cpp/submodules/parquet-testing
@@ -139,7 +139,7 @@ jobs:
139139
username: ${{ github.actor }}
140140
password: ${{ secrets.GITHUB_TOKEN }}
141141
- name: Cache
142-
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
142+
uses: actions/cache@v4
143143
with:
144144
path: .docker
145145
key: jni-linux-${{ matrix.platform.arch }}-${{ hashFiles('arrow/cpp/**') }}
@@ -154,7 +154,7 @@ jobs:
154154
- name: Compress into single artifact to keep directory structure
155155
run: tar -cvzf jni-linux-${{ matrix.platform.arch }}.tar.gz jni/
156156
- name: Upload artifacts
157-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
157+
uses: actions/upload-artifact@v4
158158
with:
159159
name: jni-linux-${{ matrix.platform.arch }}
160160
path: jni-linux-${{ matrix.platform.arch }}.tar.gz
@@ -174,7 +174,7 @@ jobs:
174174
MACOSX_DEPLOYMENT_TARGET: "14.0"
175175
steps:
176176
- name: Download source archive
177-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
177+
uses: actions/download-artifact@v4
178178
with:
179179
name: release-source
180180
- name: Extract source archive
@@ -186,22 +186,22 @@ jobs:
186186
# ci/scripts/download_cpp.sh
187187
- name: Checkout Apache Arrow C++
188188
# if: github.event_name == 'schedule'
189-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
189+
uses: actions/checkout@v4
190190
with:
191191
repository: apache/arrow
192192
path: arrow
193193
- name: Checkout apache/arrow-testing
194-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
194+
uses: actions/checkout@v4
195195
with:
196196
repository: apache/arrow-testing
197197
path: arrow/testing
198198
- name: Checkout apache/parquet-testing
199-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
199+
uses: actions/checkout@v4
200200
with:
201201
repository: apache/parquet-testing
202202
path: arrow/cpp/submodules/parquet-testing
203203
- name: Set up Python
204-
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
204+
uses: actions/setup-python@v5
205205
with:
206206
cache: 'pip'
207207
python-version: 3.12
@@ -266,7 +266,7 @@ jobs:
266266
run: |
267267
echo "CCACHE_DIR=${PWD}/ccache" >> ${GITHUB_ENV}
268268
- name: Cache ccache
269-
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
269+
uses: actions/cache@v4
270270
with:
271271
path: ccache
272272
key: jni-macos-${{ matrix.platform.arch }}-${{ hashFiles('arrow/cpp/**') }}
@@ -280,7 +280,7 @@ jobs:
280280
- name: Compress into single artifact to keep directory structure
281281
run: tar -cvzf jni-macos-${{ matrix.platform.arch }}.tar.gz jni/
282282
- name: Upload artifacts
283-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
283+
uses: actions/upload-artifact@v4
284284
with:
285285
name: jni-macos-${{ matrix.platform.arch }}
286286
path: jni-macos-${{ matrix.platform.arch }}.tar.gz
@@ -298,7 +298,7 @@ jobs:
298298
arch: "x86_64"
299299
steps:
300300
- name: Download source archive
301-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
301+
uses: actions/download-artifact@v4
302302
with:
303303
name: release-source
304304
- name: Extract source archive
@@ -312,12 +312,12 @@ jobs:
312312
ci/scripts/download_cpp.sh
313313
- name: Checkout Apache Arrow C++
314314
if: github.event_name == 'schedule'
315-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
315+
uses: actions/checkout@v4
316316
with:
317317
repository: apache/arrow
318318
path: arrow
319319
- name: Set up Java
320-
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
320+
uses: actions/setup-java@v4
321321
with:
322322
java-version: '11'
323323
distribution: 'temurin'
@@ -342,7 +342,7 @@ jobs:
342342
run: |
343343
echo "CCACHE_DIR=${PWD}/ccache" >> ${GITHUB_ENV}
344344
- name: Cache ccache
345-
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
345+
uses: actions/cache@v4
346346
with:
347347
path: ccache
348348
key: jni-windows-${{ matrix.platform.arch }}-${{ hashFiles('arrow/cpp/**') }}
@@ -358,7 +358,7 @@ jobs:
358358
shell: bash
359359
run: tar -cvzf jni-windows-${{ matrix.platform.arch }}.tar.gz jni/
360360
- name: Upload artifacts
361-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
361+
uses: actions/upload-artifact@v4
362362
with:
363363
name: jni-windows-${{ matrix.platform.arch }}
364364
path: jni-windows-${{ matrix.platform.arch }}.tar.gz
@@ -371,7 +371,7 @@ jobs:
371371
- jni-windows
372372
steps:
373373
- name: Download artifacts
374-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
374+
uses: actions/download-artifact@v4
375375
with:
376376
path: artifacts
377377
- name: Decompress artifacts
@@ -411,12 +411,12 @@ jobs:
411411
test -f jni/arrow_dataset_jni/x86_64/arrow_dataset_jni.dll
412412
test -f jni/arrow_orc_jni/x86_64/arrow_orc_jni.dll
413413
- name: Checkout apache/arrow-testing
414-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
414+
uses: actions/checkout@v4
415415
with:
416416
repository: apache/arrow-testing
417417
path: testing
418418
- name: Cache ~/.m2
419-
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
419+
uses: actions/cache@v4
420420
with:
421421
path: ~/.m2
422422
key: binaries-build-${{ hashFiles('**/*.java', '**/pom.xml') }}
@@ -430,12 +430,12 @@ jobs:
430430
cp -a target/site/apidocs reference
431431
tar -cvzf reference.tar.gz reference
432432
- name: Upload binaries
433-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
433+
uses: actions/upload-artifact@v4
434434
with:
435435
name: release-binaries
436436
path: binaries/*
437437
- name: Upload docs
438-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
438+
uses: actions/upload-artifact@v4
439439
with:
440440
name: reference
441441
path: reference.tar.gz
@@ -448,15 +448,15 @@ jobs:
448448
contents: read
449449
packages: write
450450
steps:
451-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
451+
- uses: actions/setup-python@v5
452452
with:
453453
cache: 'pip'
454454
- name: Download source archive
455-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
455+
uses: actions/download-artifact@v4
456456
with:
457457
name: release-source
458458
- name: Download Javadocs
459-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
459+
uses: actions/download-artifact@v4
460460
with:
461461
name: reference
462462
- name: Extract source archive
@@ -473,7 +473,7 @@ jobs:
473473
- name: Compress into single artifact to keep directory structure
474474
run: tar -cvzf html.tar.gz -C docs/build html
475475
- name: Upload artifacts
476-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
476+
uses: actions/upload-artifact@v4
477477
with:
478478
name: release-html
479479
path: html.tar.gz
@@ -499,7 +499,7 @@ jobs:
499499
contents: write
500500
steps:
501501
- name: Checkout
502-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
502+
uses: actions/checkout@v4
503503
with:
504504
path: site
505505
- name: Prepare branch
@@ -521,7 +521,7 @@ jobs:
521521
cp ../.asf.yaml ./
522522
git add .nojekyll .asf.yaml
523523
- name: Download
524-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
524+
uses: actions/download-artifact@v4
525525
with:
526526
name: release-html
527527
- name: Extract
@@ -557,7 +557,7 @@ jobs:
557557
- ubuntu-latest
558558
steps:
559559
- name: Download release artifacts
560-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
560+
uses: actions/download-artifact@v4
561561
with:
562562
pattern: release-*
563563
- name: Verify
@@ -591,7 +591,7 @@ jobs:
591591
contents: write
592592
steps:
593593
- name: Download release artifacts
594-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
594+
uses: actions/download-artifact@v4
595595
with:
596596
pattern: release-*
597597
path: artifacts

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
$artifact
6666
done
6767
- name: Checkout for publishing docs
68-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
68+
uses: actions/checkout@v4
6969
with:
7070
path: site
7171
- name: Publish docs

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ jobs:
5858
MAVEN: ${{ matrix.maven }}
5959
steps:
6060
- name: Checkout Arrow
61-
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
61+
uses: actions/checkout@v4
6262
with:
6363
fetch-depth: 0
6464
submodules: recursive
6565
- name: Cache Docker Volumes
66-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
66+
uses: actions/cache@v4
6767
with:
6868
path: .docker
6969
key: maven-${{ matrix.jdk }}-${{ matrix.maven }}-${{ hashFiles('compose.yaml', '**/pom.xml', '**/*.java') }}
@@ -152,41 +152,41 @@ jobs:
152152
timeout-minutes: 60
153153
steps:
154154
- name: Checkout Arrow
155-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
155+
uses: actions/checkout@v4
156156
with:
157157
fetch-depth: 0
158158
repository: apache/arrow
159159
submodules: recursive
160160
- name: Checkout Arrow Rust
161-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
161+
uses: actions/checkout@v4
162162
with:
163163
repository: apache/arrow-rs
164164
path: rust
165165
- name: Checkout Arrow nanoarrow
166-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
166+
uses: actions/checkout@v4
167167
with:
168168
repository: apache/arrow-nanoarrow
169169
path: nanoarrow
170170
- name: Checkout Arrow Go
171-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
171+
uses: actions/checkout@v4
172172
with:
173173
repository: apache/arrow-go
174174
path: go
175175
- name: Checkout Arrow Java
176-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
176+
uses: actions/checkout@v4
177177
with:
178178
path: java
179179
- name: Free up disk space
180180
run: |
181181
ci/scripts/util_free_space.sh
182182
- name: Cache Docker Volumes
183-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
183+
uses: actions/cache@v4
184184
with:
185185
path: .docker
186186
key: integration-conda-${{ hashFiles('cpp/**') }}
187187
restore-keys: integration-conda-
188188
- name: Setup Python
189-
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
189+
uses: actions/setup-python@v5
190190
with:
191191
python-version: 3.12
192192
- name: Setup Archery

0 commit comments

Comments
 (0)