Update autoMerge.yml
This commit is contained in:
parent
1bba32342c
commit
5d385e7494
|
@ -15,15 +15,8 @@ jobs:
|
||||||
|
|
||||||
# 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: Echo Node ID
|
- name: Merge PR
|
||||||
run: echo ${{ github.event.pull_request.node_id }}
|
run: |
|
||||||
- name: Enable GitHub Pull Reaquest Auto Merge Action
|
echo ${{ secrets.PUSH_TOKEN }} >> auth.txt
|
||||||
# You may pin to the exact commit or the version.
|
gh auth login --with-token < auth.txt
|
||||||
# uses: poad/github-pull-request-auto-merge-enable-action@89573fd0a329b987282e63d3a81b1c2d260c6648
|
gh pr merge https://github.com/FreeTubeApp/FreeTube/pull/${{ github.event.pull_request.number }} --auto
|
||||||
uses: poad/github-pull-request-auto-merge-enable-action@v1.0.0
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
pull_request_id: ${{ github.event.pull_request.node_id }}
|
|
||||||
pull_request_number: ${{ github.event.pull_request.number }}
|
|
||||||
owner: FreeTubeApp
|
|
||||||
repository: FreeTube
|
|
||||||
|
|
Loading…
Reference in New Issue