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

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

Merge pull request #328 from nextcloud/autoMerge

auto merge
parents c65e7c3e 8fd8e162
Loading
Loading
Loading
Loading
+16 −8
Original line number Diff line number Diff line
name: Auto approve
name: Dependabot
on: pull_request_target

jobs:
    auto-approve:
  auto-merge:
    runs-on: ubuntu-latest
    steps:
      # Default github action approve
      - uses: hmarr/auto-approve-action@v2.0.0
        if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
        with:
                  github-token: "${{ secrets.GITHUB_TOKEN }}"
          github-token: ${{ secrets.GITHUB_TOKEN }}

      # Nextcloud bot approve and merge request
      - uses: ahmadnassri/action-dependabot-auto-merge@v1
        if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
        with:
          target: patch
          github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}