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:
|
2023-03-17 05:42:49 +03:00
|
|
|
- uses: hmarr/auto-approve-action@44888193675f29a83e04faf4002fa8c0b537b1e4 # v3.2.1
|
2022-12-16 17:13:55 +03:00
|
|
|
with:
|
2023-02-09 05:53:17 +03:00
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|