diff --git a/.config/copier/.copier-answers.release.yaml b/.config/copier/.copier-answers.release.yaml index 7fd97ad..da86ff5 100644 --- a/.config/copier/.copier-answers.release.yaml +++ b/.config/copier/.copier-answers.release.yaml @@ -1,4 +1,4 @@ # This file is @generated by . # DO NOT EDIT! -_commit: v0.3.5 +_commit: v0.3.8 _src_path: gh:liblaf/copier-release diff --git a/.config/copier/.copier-answers.shared.yaml b/.config/copier/.copier-answers.shared.yaml index 2c5dcac..23cae3c 100644 --- a/.config/copier/.copier-answers.shared.yaml +++ b/.config/copier/.copier-answers.shared.yaml @@ -1,6 +1,6 @@ # This file is @generated by . # DO NOT EDIT! -_commit: v0.2.16 +_commit: v0.2.19 _src_path: gh:liblaf/copier-share author_email: 30631553+liblaf@users.noreply.github.com author_name: liblaf diff --git a/.config/mise/conf.d/50-shared.toml b/.config/mise/conf.d/50-shared.toml index c98a198..3c0d579 100644 --- a/.config/mise/conf.d/50-shared.toml +++ b/.config/mise/conf.d/50-shared.toml @@ -4,4 +4,4 @@ [tasks.copier-update] description = "Recopy all configured Copier templates from their answers files." -file = "https://raw.githubusercontent.com/liblaf/copier-shared/9539209ee26b0bf3b4a0d551b5e5b317f9196b57/mise-tasks/copier-update.sh" +file = "https://raw.githubusercontent.com/liblaf/copier-shared/fbf35c12c40c873d90ebe3d7163b46328c86a15b/mise-tasks/copier-update.sh" diff --git a/.github/workflows/release-pr.yaml b/.github/workflows/release-pr.yaml index 2632e0b..cfc9bb7 100644 --- a/.github/workflows/release-pr.yaml +++ b/.github/workflows/release-pr.yaml @@ -10,6 +10,8 @@ on: env: GIT_CLIFF_CONFIG_URL: https://raw.githubusercontent.com/liblaf/copier-release/refs/heads/main/cliff.toml + GIT_LFS_SKIP_PUSH: true + GIT_LFS_SKIP_SMUDGE: true concurrency: group: ${{ github.workflow }} @ ${{ github.ref }} @@ -28,11 +30,11 @@ jobs: version: ${{ steps.version.outputs.version }} steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 with: fetch-depth: 0 - name: Install git-cliff - uses: taiki-e/install-action@0631aa6515c7d545823c67cfae7ef4fc7f490154 # v2 + uses: taiki-e/install-action@8b3c737da4b541bf0fb5a3e0488ff20535badac9 # v2 with: tool: git-cliff - id: version @@ -63,7 +65,7 @@ jobs: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 with: fetch-depth: 0 - name: Install rumdl diff --git a/.github/workflows/release-publish.yaml b/.github/workflows/release-publish.yaml index 43bce36..9e7c50b 100644 --- a/.github/workflows/release-publish.yaml +++ b/.github/workflows/release-publish.yaml @@ -28,7 +28,7 @@ jobs: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 with: token: ${{ steps.auth.outputs.token }} - id: version @@ -41,7 +41,7 @@ jobs: env: TITLE: ${{ github.event.pull_request.title }} - name: Create release - uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3 + uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3 with: body: ${{ github.event.pull_request.body }} tag_name: ${{ steps.version.outputs.tag }} diff --git a/.github/workflows/shared-copier-update.yaml b/.github/workflows/shared-copier-update.yaml index ee8d74c..fa27c04 100644 --- a/.github/workflows/shared-copier-update.yaml +++ b/.github/workflows/shared-copier-update.yaml @@ -30,9 +30,9 @@ jobs: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - name: Install mise - uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4 + uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4 - name: Install Copier run: pipx install --pip-args cookiecutter copier - name: Copier update diff --git a/.github/workflows/shared-mega-linter.yaml b/.github/workflows/shared-mega-linter.yaml index ab8b808..d3d757e 100644 --- a/.github/workflows/shared-mega-linter.yaml +++ b/.github/workflows/shared-mega-linter.yaml @@ -38,10 +38,10 @@ jobs: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - id: lint name: MegaLinter - uses: liblaf/megalinter-custom-flavor-all@f0a990f6a4b6bd6e5bdeeb40774375e7e66aae1b # main + uses: liblaf/megalinter-custom-flavor-all@2ce9ad17fcc1129eb4e52946f5115d7bf512bff9 # 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 @@ -60,10 +60,7 @@ jobs: cp --target-directory='${{ runner.temp }}' --verbose 'megalinter-reports/megalinter-report.md' sudo rm --force --recursive 'mega-linter.log' 'megalinter-reports' - id: pr - if: >- - steps.lint.outputs.has-updated-sources == 1 && (github.event_name == - 'push' || github.event.pull_request.head.repo.full_name == - github.repository) + if: steps.lint.outputs.has-updated-sources == 1 && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) name: Create PR uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8 with: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f4737e0..54fb62b 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.13 + rev: v0.15.17 hooks: - id: ruff-check args: - --fix - id: ruff-format - repo: https://github.com/oxc-project/mirrors-oxfmt - rev: v0.50.0 + rev: v0.45.0 hooks: - id: oxfmt - repo: https://github.com/oxc-project/mirrors-oxlint - rev: v1.65.0 + rev: v1.60.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.93 + rev: v0.2.16 hooks: - id: rumdl-fmt - repo: https://github.com/shellcheck-py/shellcheck-py