ci: update global workflows (#532)

This commit is contained in:
LizardByte-bot
2022-12-10 10:27:26 -05:00
committed by GitHub
parent dbe56ee583
commit a6e47ff033
8 changed files with 78 additions and 7 deletions

View File

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