Skip to content

Commit

Permalink
Merge pull request #1740 from camptocamp/c2cciutils-upgrade-1.3
Browse files Browse the repository at this point in the history
CI updates
  • Loading branch information
sbrunner authored Jun 7, 2024
2 parents ff0623c + 403730b commit 06c32fe
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/pull-request-automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand All @@ -55,5 +49,3 @@ jobs:
})
if: |-
github.event.pull_request.user.login == 'renovate[bot]'
&& (github.event.action == 'opened'
|| github.event.action == 'reopened')

0 comments on commit 06c32fe

Please sign in to comment.