Update autoMerge.yml
This commit is contained in:
parent
9eb2add436
commit
706e00b1b0
|
@ -11,19 +11,14 @@ jobs:
|
||||||
# This workflow contains a single job called "build"
|
# This workflow contains a single job called "build"
|
||||||
build:
|
build:
|
||||||
# The type of runner that the job will run on
|
# 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 represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
- name: Create auth.txt
|
- name: Create auth.txt
|
||||||
run: |
|
run: |
|
||||||
echo ${{ secrets.PUSH_TOKEN }} >> auth.txt
|
echo ${{ secrets.PUSH_TOKEN }} >> auth.txt
|
||||||
- name: Login GH CLI
|
gh auth login --with-token < auth.txt
|
||||||
run: |
|
|
||||||
gh auth login --with-token < ${{ secrets.PUSH_TOKEN }}
|
|
||||||
- name: rm auth.txt
|
|
||||||
run: |
|
|
||||||
rm 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
|
gh pr merge https://github.com/FreeTubeApp/FreeTube/pull/${{ github.event.pull_request.number }} --auto
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue