mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
1f4f259b6a
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
29 lines
715 B
YAML
29 lines
715 B
YAML
# synced from @nextcloud/android-config
|
|
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@44888193675f29a83e04faf4002fa8c0b537b1e4 # v3.2.1
|
|
with:
|
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|