From d32aafd0e280837a71cd9cbb2255a75dd7e3358b Mon Sep 17 00:00:00 2001 From: liblaf <30631553+liblaf@users.noreply.github.com> Date: Sun, 3 May 2026 23:02:43 +0800 Subject: [PATCH 1/2] chore(deps): bump GitHub actions to v3 and update pre-commit hooks Bump `liblaf/actions/auth` and `liblaf/actions/approve` from v2 to v3, add `reviewer` input to approve steps, and update pre-commit hook versions (ruff v0.15.12, oxfmt v0.47.0, oxlint v1.62.0, rumdl v0.1.87). --- .github/workflows/shared-approve.yaml | 5 +++-- .github/workflows/shared-copier-update.yaml | 2 +- .github/workflows/shared-mega-linter.yaml | 9 +++++---- .pre-commit-config.yaml | 8 ++++---- template/.github/workflows/shared-approve.yaml | 5 +++-- template/.github/workflows/shared-copier-update.yaml | 2 +- template/.github/workflows/shared-mega-linter.yaml | 7 ++++--- 7 files changed, 21 insertions(+), 17 deletions(-) diff --git a/.github/workflows/shared-approve.yaml b/.github/workflows/shared-approve.yaml index abf1b01..a8b11e3 100644 --- a/.github/workflows/shared-approve.yaml +++ b/.github/workflows/shared-approve.yaml @@ -21,15 +21,16 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/auth@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Approve - uses: liblaf/actions/approve@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/approve@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: approve-token: ${{ steps.auth.outputs.token }} label: ${{ matrix.label }} + reviewer: ${{ steps.auth.outputs.committer-name }} strategy: matrix: label: diff --git a/.github/workflows/shared-copier-update.yaml b/.github/workflows/shared-copier-update.yaml index 821bf54..37401e6 100644 --- a/.github/workflows/shared-copier-update.yaml +++ b/.github/workflows/shared-copier-update.yaml @@ -25,7 +25,7 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/auth@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} diff --git a/.github/workflows/shared-mega-linter.yaml b/.github/workflows/shared-mega-linter.yaml index f99912a..7cd79b5 100644 --- a/.github/workflows/shared-mega-linter.yaml +++ b/.github/workflows/shared-mega-linter.yaml @@ -33,7 +33,7 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/auth@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} @@ -41,7 +41,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - id: lint name: MegaLinter - uses: liblaf/megalinter-custom-flavor-all@e4ff3731165d0b37dcf66ef40ddcd9e6c1825adf # main + uses: liblaf/megalinter-custom-flavor-all@b7044af3d69f0c5c4524696d3ab4203886e01819 # main env: GITHUB_TOKEN: ${{ steps.auth.outputs.token }} MEGALINTER_CONFIG: https://raw.githubusercontent.com/liblaf/megalinter-custom-flavor-all/refs/heads/main/.mega-linter.yml @@ -93,12 +93,13 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/auth@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Approve - uses: liblaf/actions/approve@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/approve@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: approve-token: ${{ steps.auth.outputs.token }} pull: ${{ needs.mega-linter.outputs.pull-request-url }} + reviewer: ${{ steps.auth.outputs.committer-name }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 83a794d..16859e5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,18 +18,18 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.11 + rev: v0.15.12 hooks: - id: ruff-check args: - --fix - id: ruff-format - repo: https://github.com/oxc-project/mirrors-oxfmt - rev: v0.45.0 + rev: v0.47.0 hooks: - id: oxfmt - repo: https://github.com/oxc-project/mirrors-oxlint - rev: v1.60.0 + rev: v1.62.0 hooks: - id: oxlint - repo: https://github.com/pre-commit/pre-commit-hooks @@ -52,7 +52,7 @@ repos: hooks: - id: actionlint - repo: https://github.com/rvben/rumdl-pre-commit - rev: v0.1.80 + rev: v0.1.87 hooks: - id: rumdl-fmt - repo: https://github.com/shellcheck-py/shellcheck-py diff --git a/template/.github/workflows/shared-approve.yaml b/template/.github/workflows/shared-approve.yaml index abf1b01..a8b11e3 100644 --- a/template/.github/workflows/shared-approve.yaml +++ b/template/.github/workflows/shared-approve.yaml @@ -21,15 +21,16 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/auth@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Approve - uses: liblaf/actions/approve@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/approve@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: approve-token: ${{ steps.auth.outputs.token }} label: ${{ matrix.label }} + reviewer: ${{ steps.auth.outputs.committer-name }} strategy: matrix: label: diff --git a/template/.github/workflows/shared-copier-update.yaml b/template/.github/workflows/shared-copier-update.yaml index 821bf54..37401e6 100644 --- a/template/.github/workflows/shared-copier-update.yaml +++ b/template/.github/workflows/shared-copier-update.yaml @@ -25,7 +25,7 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/auth@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} diff --git a/template/.github/workflows/shared-mega-linter.yaml b/template/.github/workflows/shared-mega-linter.yaml index 8d30287..7cd79b5 100644 --- a/template/.github/workflows/shared-mega-linter.yaml +++ b/template/.github/workflows/shared-mega-linter.yaml @@ -33,7 +33,7 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/auth@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} @@ -93,12 +93,13 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/auth@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Approve - uses: liblaf/actions/approve@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/approve@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: approve-token: ${{ steps.auth.outputs.token }} pull: ${{ needs.mega-linter.outputs.pull-request-url }} + reviewer: ${{ steps.auth.outputs.committer-name }} From 8f5f0372a8ec7599a329c76c296599bc920282c2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 3 May 2026 15:03:15 +0000 Subject: [PATCH 2/2] ci(deps): update liblaf/actions action to v3 --- .github/workflows/custom-approve.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/custom-approve.yaml b/.github/workflows/custom-approve.yaml index 33fd4cf..21544bf 100644 --- a/.github/workflows/custom-approve.yaml +++ b/.github/workflows/custom-approve.yaml @@ -21,7 +21,7 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/auth@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} @@ -32,7 +32,7 @@ jobs: env: GH_TOKEN: ${{ steps.auth.outputs.token }} - name: Approve - uses: liblaf/actions/approve@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2 + uses: liblaf/actions/approve@0d18501335a3b930ccc19923d9439102a05367fd # v3 with: app: pre-commit-ci approve-token: ${{ steps.auth.outputs.token }}