From 649727b91f9228b0091648b9ad87e248a93fac9b Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Thu, 14 Aug 2025 15:05:50 +0300 Subject: [PATCH] chore(deps): update workflows, pre-commit repos (#46) * chore(deps): update pre-commit and gh workflows * chore(lint): pre-commit editorconfig-checker repo * fix(deps): use correct checkmake repo --- .github/workflows/claude.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/pr-lint.yml | 6 +++--- .github/workflows/release.yml | 2 +- .github/workflows/stale.yml | 2 +- .github/workflows/sync-labels.yml | 2 +- .pre-commit-config.yaml | 14 +++++--------- Makefile | 2 +- 8 files changed, 14 insertions(+), 18 deletions(-) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index c56ae9e..ff39d20 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -46,7 +46,7 @@ jobs: actions: read # Required for Claude to read CI results on PRs steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: fetch-depth: 1 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 428c5c4..f6842c0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Set up Node.js uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index c151c36..38ce3f7 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Set up Node.js uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 @@ -46,7 +46,7 @@ jobs: python-version: "3.x" - name: Cache pre-commit - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: ~/.cache/pre-commit key: ${{ runner.os }}-precommit-${{ hashFiles('.pre-commit-config.yaml') }} @@ -75,4 +75,4 @@ jobs: - name: Run PR Lint # Custom PR linting action that performs additional PR-specific checks # https://github.com/ivuorinen/actions - uses: ivuorinen/actions/pr-lint@86387d514e628a6b8b2c8c4f559ba3e0147204a8 # 25.8.4 + uses: ivuorinen/actions/pr-lint@fa0232d3c4ba16d087b606296435354a69c01756 # 25.8.11 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a490d4b..4ac7a65 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: fetch-depth: 0 # Required for changelog generation diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 5da79d3..d32575b 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -23,4 +23,4 @@ jobs: issues: write pull-requests: write steps: - - uses: ivuorinen/actions/stale@86387d514e628a6b8b2c8c4f559ba3e0147204a8 # 25.8.4 + - uses: ivuorinen/actions/stale@fa0232d3c4ba16d087b606296435354a69c01756 # 25.8.11 diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index b208a66..533f4e5 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -21,4 +21,4 @@ jobs: permissions: issues: write steps: - - uses: ivuorinen/actions/sync-labels@86387d514e628a6b8b2c8c4f559ba3e0147204a8 # 25.8.4 + - uses: ivuorinen/actions/sync-labels@fa0232d3c4ba16d087b606296435354a69c01756 # 25.8.11 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 280de56..2699ecb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ minimum_pre_commit_version: "3.4.0" repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -54,7 +54,7 @@ repos: hooks: - id: shfmt - - repo: https://github.com/mrtazz/checkmake + - repo: https://github.com/checkmake/checkmake rev: 0.2.2 hooks: - id: checkmake @@ -62,7 +62,7 @@ repos: files: ^Makefile$ - repo: https://github.com/bridgecrewio/checkov.git - rev: "3.2.457" + rev: "3.2.461" hooks: - id: checkov args: @@ -74,11 +74,7 @@ repos: - id: check-github-workflows args: ["--verbose"] - - repo: local + - repo: https://github.com/editorconfig-checker/editorconfig-checker + rev: v3.4.0 hooks: - id: editorconfig-checker - name: EditorConfig Checker - entry: editorconfig-checker - language: system - files: \.(md|go|sh|ya?ml|json|toml|txt|makefile|Makefile)$ - types: [file] diff --git a/Makefile b/Makefile index e3600de..c27d940 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ dev-deps: ## Install development dependencies } @command -v checkmake >/dev/null 2>&1 || { \ echo "Installing checkmake..."; \ - go install github.com/mrtazz/checkmake/cmd/checkmake@latest; \ + go install github.com/checkmake/checkmake/cmd/checkmake@latest; \ } @command -v golines >/dev/null 2>&1 || { \ echo "Installing golines..."; \