freetube/.github/workflows/autoMerge.yml

28 lines
1.1 KiB
YAML
Raw Normal View History

2021-08-20 01:18:15 +00:00
name: Auto Merge PR
2021-08-19 21:28:39 +00:00
# Controls when the workflow will run
on:
2021-08-20 01:18:15 +00:00
# Triggers the workflow on push or pull request events but only for the development branch
2021-08-20 02:05:47 +00:00
pull_request:
types: [opened, synchronize, reopened]
2021-08-19 21:28:39 +00:00
2021-08-20 01:18:15 +00:00
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2021-08-19 21:28:39 +00:00
jobs:
2021-08-20 01:18:15 +00:00
# This workflow contains a single job called "build"
2021-08-19 21:28:39 +00:00
build:
# The type of runner that the job will run on
2021-08-20 01:18:15 +00:00
runs-on: ubuntu-20.04
2021-08-19 21:28:39 +00:00
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
2021-08-20 02:05:47 +00:00
- name: Enable GitHub Pull Reaquest Auto Merge Action
2021-08-20 01:18:15 +00:00
# You may pin to the exact commit or the version.
2021-08-20 02:05:47 +00:00
# uses: poad/github-pull-request-auto-merge-enable-action@89573fd0a329b987282e63d3a81b1c2d260c6648
uses: poad/github-pull-request-auto-merge-enable-action@v1.0.0
2021-08-20 01:18:15 +00:00
with:
2021-08-20 02:05:47 +00:00
github_token: ${{ secrets.GITHUB_TOKEN }}
pull_request_id: ${{ github.event.inputs.pull-request.node_id }}
pull_request_number: ${{ github.event.inputs.pull-request.number }}
owner: FreeTubeApp
repository: FreeTube