Update autoMerge.yml
This commit is contained in:
parent
8ccc9477f4
commit
36819db1b8
|
@ -15,9 +15,15 @@ jobs:
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
- name: Merge PR
|
- name: Create auth.txt
|
||||||
run: |
|
run: |
|
||||||
echo ${{ secrets.PUSH_TOKEN }} >> auth.txt
|
echo ${{ secrets.PUSH_TOKEN }} >> auth.txt
|
||||||
|
- name: Login GH CLI
|
||||||
|
run: |
|
||||||
gh auth login --with-token < auth.txt
|
gh auth login --with-token < auth.txt
|
||||||
|
- name: rm auth.txt
|
||||||
|
run: |
|
||||||
rm auth.txt
|
rm auth.txt
|
||||||
|
- name: Enable Auto Merge PR
|
||||||
|
run: |
|
||||||
gh pr merge https://github.com/FreeTubeApp/FreeTube/pull/${{ github.event.pull_request.number }} --auto
|
gh pr merge https://github.com/FreeTubeApp/FreeTube/pull/${{ github.event.pull_request.number }} --auto
|
||||||
|
|
Loading…
Reference in New Issue