mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
569e974076
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
34 lines
907 B
YAML
34 lines
907 B
YAML
# synced from @nextcloud/android-config
|
|
|
|
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
|
|
# SPDX-FileCopyrightText: 2023 Álvaro Brey <alvaro@alvarobrey.com>
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
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@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
|
|
with:
|
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|