From 47bb6d47763b9a69a77ed75fe99eaaedc6ccf722 Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Mon, 2 Sep 2024 11:00:12 +0000 Subject: [PATCH] chore(CI): Updating dependabot-approve-merge.yml workflow from template Signed-off-by: Nextcloud bot --- .github/workflows/dependabot-approve-merge.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/dependabot-approve-merge.yml b/.github/workflows/dependabot-approve-merge.yml index 0d6b2c26d..efe8bfe37 100644 --- a/.github/workflows/dependabot-approve-merge.yml +++ b/.github/workflows/dependabot-approve-merge.yml @@ -31,6 +31,12 @@ jobs: pull-requests: write steps: + - name: Disabled on forks + if: ${{ github.event.pull_request.head.repo.full_name != github.repository }} + run: | + echo 'Can not approve PRs from forks' + exit 1 + # GitHub actions bot approve - uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2 with: