mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
Merge pull request #4131 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
This commit is contained in:
commit
014b58321d
35
.github/workflows/autoApproveDependabot.yml
vendored
35
.github/workflows/autoApproveDependabot.yml
vendored
@ -1,35 +0,0 @@
|
|||||||
# synced from @nextcloud/android-config
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
name: Auto approve dependabot
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request_target:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- master
|
|
||||||
- stable-*
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: dependabot-approve-${{ github.head_ref || github.run_id }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
auto-approve:
|
|
||||||
name: Auto approve dependabot
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: github.actor == 'dependabot[bot]'
|
|
||||||
permissions:
|
|
||||||
# needed to approve the PR
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
|
|
||||||
with:
|
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
@ -1,7 +1,10 @@
|
|||||||
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
|
# This workflow is provided via the organization template repository
|
||||||
# SPDX-FileCopyrightText: 2023 Álvaro Brey <alvaro@alvarobrey.com>
|
#
|
||||||
# SPDX-FileCopyrightText: 2023 Andy Scherzinger <info@andy-scherzinger.de>
|
# https://github.com/nextcloud/.github
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: Nextcloud GmbH and Nextcloud contributors
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
name: Auto approve renovate PRs
|
name: Auto approve renovate PRs
|
||||||
|
|
||||||
@ -30,6 +33,12 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Disabled on forks
|
||||||
|
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
|
||||||
|
run: |
|
||||||
|
echo 'Can not approve PRs from forks'
|
||||||
|
exit 1
|
||||||
|
|
||||||
- uses: mdecoleman/pr-branch-name@55795d86b4566d300d237883103f052125cc7508 # v3.0.0
|
- uses: mdecoleman/pr-branch-name@55795d86b4566d300d237883103f052125cc7508 # v3.0.0
|
||||||
id: branchname
|
id: branchname
|
||||||
with:
|
with:
|
Loading…
Reference in New Issue
Block a user