From 706e00b1b02acbbe848839058b3071c4bb57adcb Mon Sep 17 00:00:00 2001 From: Preston Date: Thu, 19 Aug 2021 22:33:55 -0400 Subject: [PATCH] Update autoMerge.yml --- .github/workflows/autoMerge.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/autoMerge.yml b/.github/workflows/autoMerge.yml index 3b100a3b..d5e0679f 100644 --- a/.github/workflows/autoMerge.yml +++ b/.github/workflows/autoMerge.yml @@ -11,19 +11,14 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Create auth.txt run: | echo ${{ secrets.PUSH_TOKEN }} >> auth.txt - - name: Login GH CLI - run: | - gh auth login --with-token < ${{ secrets.PUSH_TOKEN }} - - name: rm auth.txt - run: | + gh auth login --with-token < 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 +