nextcloud-android/.github/workflows/autoApproveSync.yml
nextcloud-android-bot 05b08d051a 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-03-12 02:54:21 +00:00

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@0902bf83c300168cda5cd6856731a0fcb0e731c2 # v3.2.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"