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

View File

@ -9,8 +9,10 @@ jobs:
steps:
- name: Auto Merge PR
env:
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
run: |
echo ${{ secrets.PUSH_TOKEN }} >> auth.txt
echo $env:PUSH_TOKEN >> auth.txt
gh auth login --with-token < auth.txt
rm auth.txt
gh pr merge https://github.com/FreeTubeApp/FreeTube/pull/${{ github.event.pull_request.number }} --auto