зеркало из https://github.com/nextcloud/guests.git
Merge pull request #1236 from nextcloud/feat/workflow-auto-update-dependabot-approve-merge.yml
chore(CI): Updating dependabot-approve-merge.yml workflow from template
This commit is contained in:
Коммит
d59d121987
|
@ -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 }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче