Update autoMerge.yml
This commit is contained in:
parent
8cd069e88a
commit
f5d7af3190
|
@ -1,4 +1,4 @@
|
||||||
name: Create Flatpak PR
|
name: Auto Merge PR
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
|
@ -10,7 +10,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Auto Merge PR
|
- name: Auto Merge PR
|
||||||
run: |
|
run: |
|
||||||
echo ${{ secrets.GH_TOKEN }} >> auth.txt
|
echo ${{ secrets.PUSH_TOKEN }} >> auth.txt
|
||||||
gh auth login --with-token < auth.txt
|
gh auth login --with-token < auth.txt
|
||||||
rm auth.txt
|
rm auth.txt
|
||||||
gh pr merge https://github.com/FreeTubeApp/FreeTube/pull/${{ github.event.pull_request.number }} --auto --squash
|
gh pr merge https://github.com/FreeTubeApp/FreeTube/pull/${{ github.event.pull_request.number }} --auto --squash
|
||||||
|
|
Loading…
Reference in New Issue