From 5203eb48c6acda377aa5272363efd0c1b0065ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Matuszny?= Date: Thu, 31 Jul 2025 11:17:22 +0200 Subject: [PATCH 1/2] build: Update jdx/mise-action to pinned version --- .github/workflows/pre-commit.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 6c80962..12ec72d 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -2,16 +2,17 @@ on: pull_request: merge_group: - jobs: pre-commit: name: "pre-commit" runs-on: ubuntu-24.04-large steps: - - uses: jdx/mise-action@5cb1df66ed5e1fb3c670ea0b62fd17a76979826a # v2.3.1 + - uses: 'jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2.4.4' # v2.3.1 + with: + version: 2025.7.12 - uses: SonarSource/gh-action_pre-commit@3d5b503c1ce51d0f92665875b9bea716eff1e70f # 1.0.7 with: extra-args: > - --from-ref=origin/${{ github.event.pull_request.base.ref }} - --to-ref=${{ github.event.pull_request.head.sha }} + --from-ref=origin/${{ github.event.pull_request.base.ref }} --to-ref=${{ github.event.pull_request.head.sha }} + ignore-failure: ${{ github.event_name == 'merge_group' }} From 5b8a25a4f3141be6352bff39cec2f965a4c93ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Matuszny?= Date: Thu, 31 Jul 2025 11:23:03 +0200 Subject: [PATCH 2/2] fix: Remove quotes from uses field in workflow --- .github/workflows/pre-commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 12ec72d..71d7d2b 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -7,7 +7,7 @@ jobs: name: "pre-commit" runs-on: ubuntu-24.04-large steps: - - uses: 'jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2.4.4' # v2.3.1 + - uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2.4.4 with: version: 2025.7.12 - uses: SonarSource/gh-action_pre-commit@3d5b503c1ce51d0f92665875b9bea716eff1e70f # 1.0.7