Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ktauchathuranga authored Dec 3, 2024
1 parent 5dc4308 commit 865137f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ runs:
echo "Merging PR #${PR_NUMBER} titled \"${PR_TITLE}\""
API_URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/pulls/${PR_NUMBER}/merge"
curl -X PUT "${API_URL}" \
-H "Authorization: token ${GITHUB_TOKEN}" \
-H "Authorization: token ${{ inputs.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
-d '{"commit_title":"Merge PR #'"${PR_NUMBER}"' - '"${PR_TITLE}"'","merge_method":"squash"}'
echo "Pull request #${PR_NUMBER} merged successfully."
Expand Down

0 comments on commit 865137f

Please sign in to comment.