improve github-actions
Signed-off-by: Christian Kotzbauer <christian.kotzbauer@gmail.com>
This commit is contained in:
parent
b4144f449c
commit
361911cac1
|
|
@ -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" },
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -8,3 +8,4 @@ jobs:
|
|||
uses: "pascalgn/size-label-action@3de5b9af54686db1856cf445e22715dc92f259de"
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
IGNORED: ".*\npackage-lock.json\ndist/**"
|
||||
|
|
|
|||
Loading…
Reference in New Issue