2023-02-09 05:53:17 +03:00
|
|
|
# synced from @nextcloud/android-config
|
2023-02-10 06:11:40 +03:00
|
|
|
name: Auto approve dependabot
|
2023-02-09 05:53:17 +03:00
|
|
|
|
2021-04-22 13:08:04 +03:00
|
|
|
on:
|
2022-12-16 17:13:55 +03:00
|
|
|
pull_request_target:
|
2023-02-09 05:53:17 +03:00
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- master
|
|
|
|
- stable-*
|
2021-04-22 13:08:04 +03:00
|
|
|
|
2022-12-16 14:24:03 +03:00
|
|
|
permissions:
|
2023-02-09 05:53:17 +03:00
|
|
|
contents: read
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: dependabot-approve-${{ github.head_ref || github.run_id }}
|
|
|
|
cancel-in-progress: true
|
2022-12-16 14:24:03 +03:00
|
|
|
|
2021-04-22 13:08:04 +03:00
|
|
|
jobs:
|
2022-12-16 17:13:55 +03:00
|
|
|
auto-approve:
|
2023-02-10 06:11:40 +03:00
|
|
|
name: Auto approve dependabot
|
2022-12-16 17:13:55 +03:00
|
|
|
runs-on: ubuntu-latest
|
2023-02-09 05:53:17 +03:00
|
|
|
if: github.actor == 'dependabot[bot]'
|
|
|
|
permissions:
|
|
|
|
# needed to approve the PR
|
|
|
|
pull-requests: write
|
|
|
|
|
2022-12-16 17:13:55 +03:00
|
|
|
steps:
|
2024-02-03 22:40:03 +03:00
|
|
|
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
|
2022-12-16 17:13:55 +03:00
|
|
|
with:
|
2023-02-09 05:53:17 +03:00
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|