2023-02-09 02:53:17 +00:00
|
|
|
# synced from @nextcloud/android-config
|
2024-02-29 19:23:57 +00:00
|
|
|
|
|
|
|
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
# SPDX-FileCopyrightText: 2023 Álvaro Brey <alvaro@alvarobrey.com>
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
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:
|
2024-02-03 19:40:03 +00:00
|
|
|
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
|
2022-12-16 14:13:55 +00:00
|
|
|
with:
|
2023-02-09 02:53:17 +00:00
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|