2023-02-13 05:44:59 +03:00
|
|
|
# synced from @nextcloud/android-config
|
|
|
|
name: Auto approve dependabot
|
|
|
|
|
2021-01-05 16:42:56 +03:00
|
|
|
on:
|
2023-02-13 05:44:59 +03:00
|
|
|
pull_request_target:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- master
|
|
|
|
- stable-*
|
2020-09-23 08:22:08 +03:00
|
|
|
|
2022-06-10 09:03:43 +03:00
|
|
|
permissions:
|
2023-02-13 05:44:59 +03:00
|
|
|
contents: read
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: dependabot-approve-${{ github.head_ref || github.run_id }}
|
|
|
|
cancel-in-progress: true
|
2022-06-10 09:03:43 +03:00
|
|
|
|
2020-09-23 08:22:08 +03:00
|
|
|
jobs:
|
2023-02-13 05:44:59 +03:00
|
|
|
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:
|
2023-03-17 05:42:43 +03:00
|
|
|
- uses: hmarr/auto-approve-action@44888193675f29a83e04faf4002fa8c0b537b1e4 # v3.2.1
|
2023-02-13 05:44:59 +03:00
|
|
|
with:
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|