diff --git a/.github/workflows/update-check.yaml b/.github/workflows/update-check.yaml index ef0c1fb..5cbb41a 100644 --- a/.github/workflows/update-check.yaml +++ b/.github/workflows/update-check.yaml @@ -32,13 +32,12 @@ jobs: token: ${{ steps.app-token.outputs.token }} - name: Set tag output without leading v - id: latest_no_v + id: current run: | TAG_EXCL_V=${{ steps.latest.outputs.release }} TAG_EXCL_V=${TAG_EXCL_V/v/} echo "release=$TAG_EXCL_V" >> "$GITHUB_OUTPUT" - - uses: actions/checkout@v4 with: ref: main @@ -60,5 +59,5 @@ jobs: commit-message: update terraform-ls to ${{ steps.latest_no_v.outputs.release }} delete-branch: true title: update terraform-ls to ${{ steps.latest_no_v.outputs.release }} - body: 'Update terraform-ls server to [${{ steps.latest_no_v.outputs.release }}](https://github.com/hashicorp/terraform-ls/releases/tag/${{ steps.latest.outputs.release }})' + body: 'Update `terraform-ls` server from [${{ steps.current.outputs.release }}](https://github.com/hashicorp/terraform-ls/releases/tag/${{ steps.current.outputs.release }}) to [${{ steps.latest_no_v.outputs.release }}](https://github.com/hashicorp/terraform-ls/releases/tag/${{ steps.latest_no_v.outputs.release }}) (see [all changes](https://github.com/hashicorp/terraform-ls/compare/${{ steps.current.outputs.release }}...${{ steps.latest_no_v.outputs.release }})).' token: ${{ steps.app-token.outputs.token }}