diff --git a/.github/workflows/autoMerge.yml b/.github/workflows/autoMerge.yml index 59c228de..090085ec 100644 --- a/.github/workflows/autoMerge.yml +++ b/.github/workflows/autoMerge.yml @@ -15,9 +15,12 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: + - uses: actions/checkout@v2 - name: Enable Auto Merge env: GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }} run: | - gh auth login --with-token + echo ${{ secrets.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