nextcloud-android/.github/workflows/autoApproveDependabot.yml

31 lines
668 B
YAML
Raw Normal View History

# synced from @nextcloud/android-config
name: Auto approve dependabot
on:
pull_request_target:
branches:
- main
- master
- stable-*
permissions:
contents: read
concurrency:
group: dependabot-approve-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
auto-approve:
name: Auto approve dependabot
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
permissions:
# needed to approve the PR
pull-requests: write
steps:
- uses: hmarr/auto-approve-action@0902bf83c300168cda5cd6856731a0fcb0e731c2 # v3.2.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}