mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Merge pull request #11366 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
This commit is contained in:
commit
6a0cddd327
2 changed files with 37 additions and 13 deletions
36
.github/workflows/autoApproveDependabot.yml
vendored
36
.github/workflows/autoApproveDependabot.yml
vendored
|
@ -1,16 +1,30 @@
|
|||
name: Auto approve
|
||||
# synced from @nextcloud/android-config
|
||||
name: Auto approve dependabot
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
branches: [ master, stable-* ]
|
||||
pull_request_target:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- stable-*
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: dependabot-approve-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
auto-approve:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: hmarr/auto-approve-action@de8ae18c173c131e182d4adf2c874d8d2308a85b # v3.1.0
|
||||
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
|
||||
with:
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
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@de8ae18c173c131e182d4adf2c874d8d2308a85b # v3.1.0
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
14
.github/workflows/autoApproveSync.yml
vendored
14
.github/workflows/autoApproveSync.yml
vendored
|
@ -1,19 +1,29 @@
|
|||
# synced from @nextcloud/android-config
|
||||
name: Auto approve
|
||||
name: Auto approve sync
|
||||
on:
|
||||
pull_request_target:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- labeled
|
||||
|
||||
concurrency:
|
||||
group: sync-approve-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
auto-approve:
|
||||
name: Auto approve sync
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ contains(github.event.pull_request.labels.*.name, 'sync') && github.actor == 'nextcloud-android-bot' }}
|
||||
steps:
|
||||
- uses: hmarr/auto-approve-action@de8ae18c173c131e182d4adf2c874d8d2308a85b # v3.1.0
|
||||
if: ${{ contains(github.event.pull_request.labels.*.name, 'sync') && github.actor == 'nextcloud-android-bot' }}
|
||||
with:
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
|
Loading…
Reference in a new issue