2023-02-09 05:53:17 +03:00
|
|
|
# synced from @nextcloud/android-config
|
|
|
|
name: Dependabot
|
|
|
|
|
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-09 05:53:17 +03:00
|
|
|
name: Auto approve
|
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:
|
|
|
|
- uses: hmarr/auto-approve-action@de8ae18c173c131e182d4adf2c874d8d2308a85b # v3.1.0
|
|
|
|
with:
|
2023-02-09 05:53:17 +03:00
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|