File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,22 +134,6 @@ jobs:
134134 env :
135135 GH_TOKEN : ${{steps.get_access_token.outputs.result}}
136136
137-
138- - name : Auto Merge PR & delete branch
139- run : |
140-
141- if [ -z "${{steps.identify_PR_number.outputs.PR_NUMBER}}" ]; then
142- echo "No PR found for branch: ${{steps.identify_branch_name.outputs.branchName}}"
143- exit 1
144- fi
145-
146- echo "Merging the PR: ${{steps.identify_PR_number.outputs.PR_NUMBER}}....."
147-
148- gh pr merge ${{steps.identify_PR_number.outputs.PR_NUMBER}} --merge --admin --delete-branch --repo ${{github.repository}}
149-
150- env :
151- GH_TOKEN : ${{steps.get_access_token.outputs.result}}
152-
153137 - name : Verify PR is merged
154138 run : |
155139 pr_state=$(gh pr view ${{steps.identify_PR_number.outputs.PR_NUMBER}} --json state --jq '.state')
You can’t perform that action at this time.
0 commit comments