ci: update global workflows (#532)
This commit is contained in:
6
.github/workflows/automerge.yml
vendored
6
.github/workflows/automerge.yml
vendored
@@ -13,9 +13,10 @@ on:
|
||||
|
||||
jobs:
|
||||
autoapprove:
|
||||
if: >
|
||||
if: >-
|
||||
contains(fromJson('["LizardByte-bot"]'), github.event.pull_request.user.login) &&
|
||||
contains(fromJson('["LizardByte-bot"]'), github.actor)
|
||||
contains(fromJson('["LizardByte-bot"]'), github.actor) &&
|
||||
startsWith(github.repository, 'LizardByte/')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Autoapproving
|
||||
@@ -36,6 +37,7 @@ jobs:
|
||||
})
|
||||
|
||||
automerge:
|
||||
if: startsWith(github.repository, 'LizardByte/')
|
||||
needs: [autoapprove]
|
||||
runs-on: ubuntu-latest
|
||||
concurrency:
|
||||
|
||||
Reference in New Issue
Block a user