From 36819db1b8307349bfcd9042ea40414c308d59e0 Mon Sep 17 00:00:00 2001 From: Preston Date: Thu, 19 Aug 2021 22:30:33 -0400 Subject: [PATCH] Update autoMerge.yml --- .github/workflows/autoMerge.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autoMerge.yml b/.github/workflows/autoMerge.yml index 6aa2bcd2b..a413e6cbe 100644 --- a/.github/workflows/autoMerge.yml +++ b/.github/workflows/autoMerge.yml @@ -15,9 +15,15 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: Merge PR + - name: Create auth.txt run: | echo ${{ secrets.PUSH_TOKEN }} >> auth.txt + - name: Login GH CLI + run: | gh auth login --with-token < auth.txt + - name: rm auth.txt + run: | rm auth.txt + - name: Enable Auto Merge PR + run: | gh pr merge https://github.com/FreeTubeApp/FreeTube/pull/${{ github.event.pull_request.number }} --auto