improve github-actions

Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com>
This commit is contained in:
Christian Kotzbauer 2020-09-18 17:01:21 +02:00
parent b4144f449c
commit 361911cac1
3 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,5 @@
{
"commands": [
{ "command": "approved", "arg": "", "action": "add-label", "label": "approved", "dispatch": "approved" },
{ "command": "approved", "arg": "cancel", "action": "remove-label", "label": "approved" },
{ "command": "hold", "arg": "", "action": "add-label", "label": "hold" },
{ "command": "hold", "arg": "cancel", "action": "remove-label", "label": "hold" },
{ "command": "label", "arg": "(.*)", "action": "add-label", "label": "$1" },

View File

@ -25,6 +25,6 @@ jobs:
uses: "pascalgn/automerge-action@4775c532c615e0491d53bc42c0893840ae7cc07a"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: "approved,!work-in-progress"
MERGE_LABELS: "approved,!work-in-progress,!hold"
MERGE_METHOD: "rebase"
MERGE_DELETE_BRANCH: "true"

View File

@ -8,3 +8,4 @@ jobs:
uses: "pascalgn/size-label-action@3de5b9af54686db1856cf445e22715dc92f259de"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
IGNORED: ".*\npackage-lock.json\ndist/**"