Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

simplify our dependabot auto-merge system #58

Merged
merged 1 commit into from
Feb 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,23 @@ name: Auto Approve Dependabot PRs
on: pull_request

jobs:
auto-approve:
auto-update-dependabot:
name: Auto-Approve and enable Auto-Merge for all Dependabot PRs
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2.0.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: "${{ secrets.ORIGAMI_FOX_ACCESS_TOKEN }}"
- id: auto-approve-dependabot
uses: hmarr/auto-approve-action@v2.0.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: "${{ secrets.ORIGAMI_FOX_ACCESS_TOKEN }}"
- name: Checkout
uses: actions/checkout@master
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
fetch-depth: 1
- id: enable-automerge
name: Enable Github Automerge
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
uses: alexwilson/enable-github-automerge-action@1.0.0
with:
github-token: "${{ secrets.ORIGAMI_FOX_ACCESS_TOKEN }}"
40 changes: 0 additions & 40 deletions .github/workflows/automerge.yml

This file was deleted.