Skip to content

Commit 71c8f79

Browse files
author
rahul-infra
committed
made few changes in git workflow.
1 parent 39a5750 commit 71c8f79

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/terraform-checks.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
- name: Temporarily merge PR branch
2222
if: ${{ github.event_name == 'pull_request' }}
2323
run: |
24-
git remote -v
25-
git merge --no-ff ${{ github.event.pull_request.head.ref }} --message "Test"
24+
git checkout main
25+
git checkout -b temp-merge-branch
26+
git merge --no-ff origin/${{ github.event.pull_request.head.ref }} --message "Test"
2627
2728
- name: Semantic Release
2829
id: semantic-release

0 commit comments

Comments
 (0)