Adjust auto actions (#621)

* Adjust auto actions

* Adjust
This commit is contained in:
Jaco
2022-03-04 08:40:58 +01:00
committed by GitHub
parent b36d8ca632
commit 00538595c1
2 changed files with 6 additions and 6 deletions
@@ -1,16 +1,16 @@
name: PR
name: bot
on:
pull_request:
types: [labeled]
jobs:
auto-approve:
approve:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)"
runs-on: ubuntu-latest
steps:
- uses: jacogr/action-approve@master
with:
authors: jacogr
labels: automerge
labels: -auto
token: ${{ secrets.GH_PAT_BOT }}
@@ -1,16 +1,16 @@
name: PR
name: bot
on:
pull_request:
types: [labeled]
jobs:
auto-merge:
merge:
runs-on: ubuntu-latest
steps:
- uses: jacogr/action-merge@master
with:
checks: build,lint,test
labels: automerge
labels: -auto
strategy: squash
token: ${{ secrets.GH_PAT_BOT }}