Update autoMerge.yml

This commit is contained in:
Preston 2021-08-19 23:41:08 -04:00 committed by GitHub
parent f1eedd0b59
commit efa89b7dcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -9,8 +9,10 @@ jobs:
steps: steps:
- name: Auto Merge PR - name: Auto Merge PR
env:
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
run: | run: |
echo ${{ secrets.PUSH_TOKEN }} >> auth.txt echo $env:PUSH_TOKEN >> auth.txt
gh auth login --with-token < auth.txt gh auth login --with-token < auth.txt
rm auth.txt rm auth.txt
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