Complete equivalence test implementation (#36029)

* Complete equivalence test implementation

* use proper github actions bot
pull/36032/head
Liam Cervante 1 year ago committed by GitHub
parent 993216161c
commit cacdd5b3d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -58,8 +58,8 @@ runs:
if: steps.execute.outputs.changed == 'true'
shell: bash
run: |
git config --global user.email "teamterraform@hashicorp.com"
git config --global user.name "Team Terraform"
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git checkout -b ${{ inputs.new-branch }}
git add testing/equivalence-tests/outputs
git commit -m "Update equivalence test golden files."
@ -73,5 +73,5 @@ runs:
--base ${{ inputs.current-branch }} \
--head ${{ inputs.new-branch }} \
--title "Update equivalence test golden files" \
--body "{{ inputs.message }}" \
--body '${{ inputs.message }}' \
--reviewer ${{ inputs.reviewers }}

@ -21,8 +21,8 @@ jobs:
- name: target_branch
id: target_branch
run: |
merged="${{ github.event.pull_request.merged }}"
target_branch="${{ github.event.pull_request.base.ref }}"
merged='${{ github.event.pull_request.merged }}'
target_branch='${{ github.event.pull_request.base.ref }}'
targets_release_branch=false
if [ "$target_branch" == "main" ]; then

Loading…
Cancel
Save