Skip to content

Commit 0e36fb2

Browse files
authored
Merge pull request #51 from camptocamp/c2cciutils-upgrade
CI updates
2 parents e82d8c7 + e09fd93 commit 0e36fb2

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/pull-request-automation.yaml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,10 @@ on:
55
types:
66
- opened
77
- reopened
8-
- closed
9-
pull_request_target:
10-
types:
11-
- closed
128

139
jobs:
1410
auto-merge:
15-
name: Auto reviews, merge and close pull requests
11+
name: Auto reviews pull requests from bots
1612
runs-on: ubuntu-22.04
1713
timeout-minutes: 5
1814

@@ -38,11 +34,9 @@ jobs:
3834
})
3935
if: |-
4036
startsWith(github.head_ref, 'ghci/audit/')
41-
&& (github.event.pull_request.user.login == 'ghci-test[bot]'
42-
|| github.event.pull_request.user.login == 'ghci-int[bot]'
43-
|| github.event.pull_request.user.login == 'ghci[bot]')
44-
&& (github.event.action == 'opened'
45-
|| github.event.action == 'reopened')
37+
&& (github.event.pull_request.user.login == 'geo-ghci-test[bot]'
38+
|| github.event.pull_request.user.login == 'geo-ghci-int[bot]'
39+
|| github.event.pull_request.user.login == 'geo-ghci[bot]')
4640
- name: Auto reviews Renovate updates
4741
uses: actions/github-script@v7
4842
with:
@@ -55,5 +49,3 @@ jobs:
5549
})
5650
if: |-
5751
github.event.pull_request.user.login == 'renovate[bot]'
58-
&& (github.event.action == 'opened'
59-
|| github.event.action == 'reopened')

0 commit comments

Comments
 (0)