mirror of https://github.com/FreeTubeApp/FreeTube
Skip jobs instead of just steps in the auto merge and duplicate label workflows (#4807)
This commit is contained in:
parent
f0849d0a3d
commit
81c3588378
|
@ -5,10 +5,10 @@ on:
|
|||
|
||||
jobs:
|
||||
test:
|
||||
if: github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Comment Author
|
||||
if: github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER'
|
||||
uses: Amwam/issue-comment-action@v1.3.1
|
||||
with:
|
||||
keywords: '["duplicate of #", "duplicate of https://github.com/FreeTubeApp/FreeTube/issues/", "duplicate of https://github.com/FreeTubeApp/FreeTube/pulls/"]'
|
||||
|
|
|
@ -5,11 +5,11 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ !github.event.pull_request.draft && (contains(github.event.pull_request.base.ref, 'development') || contains(github.event.pull_request.base.ref, 'RC')) }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Auto Merge PR
|
||||
if: ${{ !github.event.pull_request.draft && (contains(github.event.pull_request.base.ref, 'development') || contains(github.event.pull_request.base.ref, 'RC')) }}
|
||||
run: |
|
||||
echo ${{ secrets.PUSH_TOKEN }} >> auth.txt
|
||||
gh auth login --with-token < auth.txt
|
||||
|
|
Loading…
Reference in New Issue