nextcloud-android/.github/workflows/autoApproveSync.yml
nextcloud-android-bot 7ceaedb87a 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-01-17 02:37:57 +00:00

19 lines
504 B
YAML

# synced from @nextcloud/android-config
name: Auto approve
on:
pull_request_target:
branches:
- master
- main
permissions:
pull-requests: write
jobs:
auto-approve:
runs-on: ubuntu-latest
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 }}"