Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit c30dd585 authored by Tobias Kaminsky's avatar Tobias Kaminsky Committed by GitHub
Browse files

Merge pull request #1679 from nextcloud/repo-sync/android-config/main

🔄 synced file(s) with nextcloud/android-config
parents 341f7440 59075080
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
# synced from @nextcloud/android-config
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@de8ae18c173c131e182d4adf2c874d8d2308a85b # v3.1.0
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
+12 −2
Original line number Diff line number Diff line
# 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 }}"