Skip to content

Commit 514a7c5

Browse files
Merge pull request #257 from nextcloud/feat/workflow-auto-update-dependabot-approve-merge.yml
chore(CI): Updating dependabot-approve-merge.yml workflow from template
2 parents 06bef55 + 6eb0243 commit 514a7c5

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)