From 3162276a222f7a39fb83acd704cb991f84565c27 Mon Sep 17 00:00:00 2001 From: Antynea Date: Sat, 30 May 2026 14:36:14 +0200 Subject: [PATCH] Update GitHub Actions to use checkout@v4 --- .github/workflows/bump-version.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index a5fdb5a..87faccc 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -14,19 +14,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: master - name: Update version in config run: | - version="${{ github.ref_name }}" - sed -i "s/GRUB_BTRFS_VERSION=.*/GRUB_BTRFS_VERSION=${version}/" config + sed -i "s/GRUB_BTRFS_VERSION=.*/GRUB_BTRFS_VERSION=${{ github.ref_name }}/" config - name: Commit updated config run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git add config - git commit -m "chore: bump version to ${version}" + git commit -m "chore: bump version to ${{ github.ref_name }}" git push origin master