Skip to content

Commit 41763c8

Browse files
Update GitHub Actions to latest versions and fix pinact workflow
Update all actions to latest major versions. Also add head_ref checkout to pinact workflow for proper branch push support. Hashes will be pinned automatically by pinact-action. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8978237 commit 41763c8

File tree

5 files changed

+17
-16
lines changed

5 files changed

+17
-16
lines changed

.github/workflows/docs-trigger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
trigger-docs:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
14+
- uses: actions/github-script@v8
1515
with:
1616
script: |
1717
await github.rest.actions.createWorkflowDispatch({

.github/workflows/docs.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ jobs:
2121
PYTHON_VERSION: '3.12'
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
24+
uses: actions/checkout@v6
2525
with:
2626
fetch-depth: 0 # Fetch all history for sphinx-multiversion
2727
- name: Setup Pages
28-
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
29-
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
28+
uses: actions/configure-pages@v6
29+
- uses: astral-sh/setup-uv@v7
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232
enable-cache: true
3333
- run: |
3434
uv sync --group dev
3535
make docs
3636
- name: Upload artifact
37-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
37+
uses: actions/upload-pages-artifact@v4
3838
with:
3939
path: './docs/_build/html'
4040

@@ -47,4 +47,4 @@ jobs:
4747
steps:
4848
- name: Deploy to GitHub Pages
4949
id: deployment
50-
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
50+
uses: actions/deploy-pages@v5

.github/workflows/pinact.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ jobs:
1313
pinact:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
16+
- uses: actions/checkout@v6
1717
with:
18+
ref: ${{ github.head_ref }}
1819
persist-credentials: false
19-
- uses: suzuki-shunsuke/pinact-action@cf51507d80d4d6522a07348e3d58790290eaf0b6 # v2.0.0
20+
- uses: suzuki-shunsuke/pinact-action@v2
2021
with:
2122
app_id: ${{ vars.BOT_APP_ID }}
2223
app_private_key: ${{ secrets.BOT_APP_PRIVATE_KEY }}

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818

1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
21+
uses: actions/checkout@v6
2222

23-
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
23+
- uses: astral-sh/setup-uv@v7
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
enable-cache: true
@@ -29,9 +29,9 @@ jobs:
2929
run: |
3030
uv build -v
3131
- name: Publish release distributions to PyPI
32-
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
32+
uses: pypa/gh-action-pypi-publish@v1
3333
- name: Release
34-
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1
34+
uses: softprops/action-gh-release@v2
3535
with:
3636
files: |
3737
dist/*.whl

.github/workflows/test-suite.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,24 @@ jobs:
2626

2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
29+
uses: actions/checkout@v6
3030

31-
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
31+
- uses: astral-sh/setup-uv@v7
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434
enable-cache: true
3535
# TODO: In the case of Python 3.13+, the following error occurs, so install Python using setup-python.
3636
# ../meson.build:44:2: ERROR: Problem encountered: Cannot compile
3737
# `Python.h`. Perhaps you need to install python-dev|python-devel
38-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
38+
- uses: actions/setup-python@v6
3939
with:
4040
python-version: ${{ matrix.python-version }}
4141
if: matrix.python-version == '3.13' || matrix.python-version == '3.14'
4242
- run: |
4343
make tool
4444
4545
- name: Configure AWS credentials
46-
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
46+
uses: aws-actions/configure-aws-credentials@v6
4747
with:
4848
role-to-assume: arn:aws:iam::676287850544:role/github-actions-oidc-pyathena
4949
role-session-name: PyAthenaTestSession

0 commit comments

Comments
 (0)