From e977945f3467598fe7f8c7242ebbc8d9d5f04cb8 Mon Sep 17 00:00:00 2001 From: Madison Grubb Date: Tue, 31 Mar 2026 15:54:00 -0400 Subject: [PATCH] fix(ci): add version comments to GitHub Actions for Renovate support Adds version comments to all third-party GitHub Actions references to enable Renovate to detect and suggest updates for tagged releases. --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/release.yml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 035539d..27a64a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,8 +31,8 @@ jobs: name: Integration tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.4.0 with: go-version-file: go.mod - name: Run integration tests @@ -45,7 +45,7 @@ jobs: image: renovate/renovate:latest options: --user root # root is needed for checkout to work steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Validate Renovate config run: renovate-config-validator --strict @@ -61,7 +61,7 @@ jobs: - renovate_config_validator steps: - name: Check if all checks passed - uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe + uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2 with: jobs: ${{ toJson(needs) }} allowed-skips: '["pr_checks"]' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 96c50ef..420ac0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: pull-requests: write steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - name: Prepare Release @@ -49,7 +49,7 @@ jobs: changelog_update: true - name: Create Pull Request if: ${{ fromJson(steps.prepare_release.outputs.new_release_published) }} - uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 + uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v8.1.0 # v7.0.8 with: token: ${{ secrets.GITHUB_TOKEN }} base: "${{ github.ref_name }}" @@ -71,7 +71,7 @@ jobs: contents: write steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - name: Prepare Release @@ -81,13 +81,13 @@ jobs: add_git_notes: true - name: Create and push semver tag if: ${{ fromJson(steps.prepare_release.outputs.new_release_published) }} - uses: anothrNick/github-tag-action@e528bc2b9628971ce0e6f823f3052d1dcd9d512c + uses: anothrNick/github-tag-action@e528bc2b9628971ce0e6f823f3052d1dcd9d512c # v1.73.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CUSTOM_TAG: v${{ steps.prepare_release.outputs.new_release_version }} - name: Create GH release if: ${{ fromJson(steps.prepare_release.outputs.new_release_published) }} - uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 + uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.6.1 with: tag_name: v${{ steps.prepare_release.outputs.new_release_version }} body: ${{ steps.prepare_release.outputs.new_release_notes }}