From f449ed59d0454343cb98c0c59086f90492623b8e Mon Sep 17 00:00:00 2001 From: Matthias Diester Date: Wed, 13 Mar 2024 11:42:03 +0100 Subject: [PATCH] Use major version for `peter-evans/create-pull-request` action Switch to using the major version for the `peter-evans/create-pull-request` GitHub action. Bump to latest available `v6`. Signed-off-by: Matthias Diester --- .github/workflows/check-latest-images.yaml | 2 +- .github/workflows/release.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-latest-images.yaml b/.github/workflows/check-latest-images.yaml index 2c977321a..4d480a4fd 100644 --- a/.github/workflows/check-latest-images.yaml +++ b/.github/workflows/check-latest-images.yaml @@ -34,7 +34,7 @@ jobs: echo "TO=$(git diff --unified=0 | grep '^[+].*image: .*/.*/.*:' | head --lines=1 | cut --delimiter=':' --fields='3' | sed 's/[^[[:digit:].]//g')" >> $GITHUB_OUTPUT id: image-diff - name: Create pull request - uses: peter-evans/create-pull-request@v4 + uses: peter-evans/create-pull-request@v6 with: commit-message: Bump ${{ matrix.image }} from ${{ steps.image-diff.outputs.FROM }} to ${{ steps.image-diff.outputs.TO }} title: Bump ${{ matrix.image }} from ${{ steps.image-diff.outputs.FROM }} to ${{ steps.image-diff.outputs.TO }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fe9da3524..b598b426f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -99,7 +99,7 @@ jobs: git commit -m "Update Readme with new Tag ${{ github.event.inputs.release }}" git clean -f - name: Create Readme PR - uses: peter-evans/create-pull-request@9825ae65b1cb54b543b938503728b432a0176d29 + uses: peter-evans/create-pull-request@v6 with: commit-message: Update Readme with new Tag author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>