Skip to content

Commit

Permalink
Merge pull request #312 from nextcloud/feat/workflow-auto-update-depe…
Browse files Browse the repository at this point in the history
…ndabot-approve-merge.yml

chore(CI): Updating dependabot-approve-merge.yml workflow from template
  • Loading branch information
kesselb authored Sep 2, 2024
2 parents 88b1106 + 48c2c1f commit ebb92c5
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 ebb92c5

Please sign in to comment.