Adjust auto actions (#621)

* Adjust auto actions

* Adjust
This commit is contained in:
Jaco authored and GitHub committed 2022-03-04 09:40:58 +02:00
1 parent b36d8ca632
commit 00538595c1
2 files changed
+6 -6

No files matched your search

@@ -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 }}