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