Skip to content

Commit

Permalink
chore(ci): more verbose PR body
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Jan 17, 2024
1 parent 339ced7 commit 39c3716
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/update-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit 39c3716

Please sign in to comment.