From b3d0b951d5200e94c1f0adafbbc07b5016541970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Fri, 7 Jun 2024 16:44:05 +0200 Subject: [PATCH] CI updates This is done by the automated script named upgrade-c2cciutils-to-1.7 --- .github/workflows/pull-request-automation.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pull-request-automation.yaml b/.github/workflows/pull-request-automation.yaml index 0fab602720..c47cd30c2b 100644 --- a/.github/workflows/pull-request-automation.yaml +++ b/.github/workflows/pull-request-automation.yaml @@ -5,14 +5,10 @@ on: types: - opened - reopened - - closed - pull_request_target: - types: - - closed jobs: auto-merge: - name: Auto reviews, merge and close pull requests + name: Auto reviews pull requests from bots runs-on: ubuntu-22.04 timeout-minutes: 5 @@ -38,11 +34,9 @@ jobs: }) if: |- startsWith(github.head_ref, 'ghci/audit/') - && (github.event.pull_request.user.login == 'ghci-test[bot]' - || github.event.pull_request.user.login == 'ghci-int[bot]' - || github.event.pull_request.user.login == 'ghci[bot]') - && (github.event.action == 'opened' - || github.event.action == 'reopened') + && (github.event.pull_request.user.login == 'geo-ghci-test[bot]' + || github.event.pull_request.user.login == 'geo-ghci-int[bot]' + || github.event.pull_request.user.login == 'geo-ghci[bot]') - name: Auto reviews Renovate updates uses: actions/github-script@v7 with: @@ -55,5 +49,3 @@ jobs: }) if: |- github.event.pull_request.user.login == 'renovate[bot]' - && (github.event.action == 'opened' - || github.event.action == 'reopened')