File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22#
33# https://github.com/nextcloud/.github
44# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+ #
6+ # SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
7+ # SPDX-License-Identifier: MIT
58
69name : Dependabot
710
@@ -21,14 +24,20 @@ concurrency:
2124
2225jobs :
2326 auto-approve-merge :
24- if : github.actor == 'dependabot[bot]'
27+ if : github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]'
2528 runs-on : ubuntu-latest-low
2629 permissions :
2730 # for hmarr/auto-approve-action to approve PRs
2831 pull-requests : write
2932
3033 steps :
31- # Github actions bot approve
34+ - name : Disabled on forks
35+ if : ${{ github.event.pull_request.head.repo.full_name != github.repository }}
36+ run : |
37+ echo 'Can not approve PRs from forks'
38+ exit 1
39+
40+ # GitHub actions bot approve
3241 - uses : hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
3342 with :
3443 github-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments