Use github.token for auto-merge authentication
This commit is contained in:
@@ -82,8 +82,8 @@ jobs:
|
|||||||
git config user.name "gitea-actions[bot]"
|
git config user.name "gitea-actions[bot]"
|
||||||
git config user.email "gitea-actions[bot]@users.noreply.gitea.io"
|
git config user.email "gitea-actions[bot]@users.noreply.gitea.io"
|
||||||
|
|
||||||
# Set up authenticated remote URL
|
# Set up authenticated remote URL using github.token
|
||||||
git remote set-url origin "http://oauth2:${{ secrets.AUTO_MERGE_TOKEN }}@synbox.ruv.wtf:8418/litruv/Plugin-Directory.git"
|
git remote set-url origin "http://oauth2:${{ github.token }}@synbox.ruv.wtf:8418/litruv/Plugin-Directory.git"
|
||||||
|
|
||||||
# Fetch and merge
|
# Fetch and merge
|
||||||
git fetch origin ${{ github.event.pull_request.head.ref }}
|
git fetch origin ${{ github.event.pull_request.head.ref }}
|
||||||
|
|||||||
Reference in New Issue
Block a user