2023-02-10 06:11:54 +03:00
|
|
|
# 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:
|
2024-02-05 16:59:11 +03:00
|
|
|
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
|
2023-02-10 06:11:54 +03:00
|
|
|
with:
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|