Skip to content

Commit 6eb0243

Browse files
committed
chore(CI): Updating dependabot-approve-merge.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
1 parent 06bef55 commit 6eb0243

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/dependabot-approve-merge.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131
pull-requests: write
3232

3333
steps:
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+
3440
# GitHub actions bot approve
3541
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
3642
with:

0 commit comments

Comments
 (0)