Skip to content

Commit

Permalink
chore(CI): Updating dependabot-approve-merge.yml workflow from template
Browse files Browse the repository at this point in the history
Signed-off-by: Nextcloud bot <[email protected]>
  • Loading branch information
nextcloud-bot committed Sep 2, 2024
1 parent 12cba9b commit 47bb6d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/dependabot-approve-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 47bb6d4

Please sign in to comment.