Skip to content

Commit

Permalink
Merge pull request #612 from nextcloud-libraries/ci/noid/approvalUpdate
Browse files Browse the repository at this point in the history
Update dependabot-approve-merge.yml from org
  • Loading branch information
AndyScherzinger committed Sep 2, 2024
2 parents b8b2ddf + 286fc80 commit 518c36a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/dependabot-approve-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ jobs:
pull-requests: write

steps:
# Github actions bot approve
- 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:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 518c36a

Please sign in to comment.