Skip to content

Commit

Permalink
Merge pull request #63 from Staffbase/flaxel-patch-1
Browse files Browse the repository at this point in the history
using reusable auto merge action
  • Loading branch information
flaxel authored Nov 8, 2023
2 parents 696470f + a013187 commit f7de3b9
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
name: Auto Merge
name: Enable Dependabot Auto-Merge

on:
pull_request_target:
on: pull_request

jobs:
auto-merge:
name: Merge Automatically
runs-on: ubuntu-20.04
if: github.actor == 'dependabot[bot]'
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Prepare Auto Merge
uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.GITOPS_TOKEN }}
dependabot:
uses: Staffbase/gha-workflows/.github/workflows/[email protected]
secrets:
app_id: ${{ vars.STAFFBASE_ACTIONS_APP_ID }}
private_key: ${{ secrets.STAFFBASE_ACTIONS_PRIVATE_KEY }}

0 comments on commit f7de3b9

Please sign in to comment.