Update autoMerge.yml

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

View File

@ -16,9 +16,8 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Enable Auto Merge
env:
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}
run: |
echo ${{ secrets.PUSH_TOKEN }} >> auth.txt
ls -l
gh auth login --with-token < ./auth.txt
rm auth.txt
gh auth login --with-token
gh pr merge https://github.com/FreeTubeApp/FreeTube/pull/${{ github.event.pull_request.number }} --auto