nextcloud-talk-android/.github/workflows/autoApproveDependabot.yml
nextcloud-android-bot bc0cdcc660 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-03-17 02:42:49 +00:00

30 lines
668 B
YAML

# 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@44888193675f29a83e04faf4002fa8c0b537b1e4 # v3.2.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}