Merge pull request #2756 from nextcloud/repo-sync/android-config/master

🔄 synced file(s) with nextcloud/android-config
This commit is contained in:
Andy Scherzinger 2023-02-10 21:11:21 +01:00 committed by GitHub
commit e8f3a4f71a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# synced from @nextcloud/android-config
name: Dependabot
name: Auto approve dependabot
on:
pull_request_target:
@ -17,7 +17,7 @@ concurrency:
jobs:
auto-approve:
name: Auto approve
name: Auto approve dependabot
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
permissions:

View File

@ -1,19 +1,29 @@
# synced from @nextcloud/android-config
name: Auto approve
name: Auto approve sync
on:
pull_request_target:
branches:
- master
- main
types:
- opened
- reopened
- synchronize
- labeled
concurrency:
group: sync-approve-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
pull-requests: write
jobs:
auto-approve:
name: Auto approve sync
runs-on: ubuntu-latest
if: ${{ contains(github.event.pull_request.labels.*.name, 'sync') && github.actor == 'nextcloud-android-bot' }}
steps:
- uses: hmarr/auto-approve-action@de8ae18c173c131e182d4adf2c874d8d2308a85b # v3.1.0
if: ${{ contains(github.event.pull_request.labels.*.name, 'sync') && github.actor == 'nextcloud-android-bot' }}
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"