Update automerge.yaml
Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
This commit is contained in:
@@ -13,11 +13,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Approve PR
|
- name: Approve PR
|
||||||
uses: hmarr/auto-approve-action@v3
|
uses: hmarr/auto-approve-action@v3
|
||||||
if: ${{
|
if: github.actor == 'truecharts-admin'
|
||||||
github.event.workflow_run.pull_requests[0].base.repo.id == github.event.workflow_run.pull_requests[0].head.repo.id &&
|
|
||||||
(contains(github.event.workflow_run.head_commit.message, 'by renovate') ||
|
|
||||||
contains(github.event.workflow_run.head_commit.message, '.all-contributorsrc'))
|
|
||||||
}}
|
|
||||||
with:
|
with:
|
||||||
github-token: "${{ secrets.OR_PAT }}"
|
github-token: "${{ secrets.OR_PAT }}"
|
||||||
|
|
||||||
@@ -25,6 +21,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Automerge
|
- name: Automerge
|
||||||
|
if: github.actor == 'truecharts-admin'
|
||||||
uses: pascalgn/automerge-action@7961b8b5eec56cc088c140b56d864285eabd3f67 # v0.16.4
|
uses: pascalgn/automerge-action@7961b8b5eec56cc088c140b56d864285eabd3f67 # v0.16.4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: "${{ secrets.BOT_TOKEN }}"
|
GITHUB_TOKEN: "${{ secrets.BOT_TOKEN }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user