From 51d217cc00f8f99c1bbe5ae154907b0403461cd7 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 30 Jan 2024 18:33:51 +0300 Subject: [PATCH] simplify --- .github/workflows/update-readme.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-readme.yaml b/.github/workflows/update-readme.yaml index 8cd7885..4cae4aa 100644 --- a/.github/workflows/update-readme.yaml +++ b/.github/workflows/update-readme.yaml @@ -29,10 +29,12 @@ jobs: id: create-pr uses: peter-evans/create-pull-request@v5 with: - commit-message: 'chore: bump version to ${{ steps.get-latest-tag.outputs.TAG }} in README.md files' - title: 'chore: bump version to ${{ steps.get-latest-tag.outputs.TAG }} in README.md files' - body: 'This is an auto-generated PR to update README.md files of all modules with the new tag ${{ steps.get-latest-tag.outputs.TAG }}' + commit-message: 'chore: bump version to ${{ env.TAG }} in README.md files' + title: 'chore: bump version to ${{ env.TAG }} in README.md files' + body: 'This is an auto-generated PR to update README.md files of all modules with the new tag ${{ env.TAG }}' branch: 'update-readme-branch' + env: + TAG: ${{ steps.get-latest-tag.outputs.TAG }} - name: Auto-approve uses: hmarr/auto-approve-action@v4