FreeTube/.github/workflows/autoMerge.yml

17 lines
410 B
YAML
Raw Normal View History

2021-08-20 05:38:49 +02:00
name: Create Flatpak PR
2021-08-19 23:28:39 +02:00
on:
2021-08-20 04:05:47 +02:00
pull_request:
types: [opened, synchronize, reopened]
2021-08-19 23:28:39 +02:00
jobs:
build:
2021-08-20 05:17:35 +02:00
runs-on: ubuntu-latest
2021-08-19 23:28:39 +02:00
steps:
2021-08-20 05:38:49 +02:00
- name: Auto Merge PR
run: |
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