Skip to content

Commit

Permalink
🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Browse files Browse the repository at this point in the history
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
  • Loading branch information
nextcloud-android-bot committed Feb 10, 2023
1 parent 56c4ea5 commit c151dcf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autoApproveDependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# synced from @nextcloud/android-config
name: Dependabot
name: Auto approve dependabot

on:
pull_request_target:
Expand All @@ -17,7 +17,7 @@ concurrency:

jobs:
auto-approve:
name: Auto approve
name: Auto approve dependabot
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
permissions:
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/autoApproveSync.yml
Original file line number Diff line number Diff line change
@@ -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 }}"

0 comments on commit c151dcf

Please sign in to comment.