Skip to content

Commit

Permalink
chore: use org dependabot batcher
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlday committed Dec 12, 2022
1 parent 0b45fa9 commit 0c87a57
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/dependabot-batcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,7 @@ on:
- cron: "0 9 * * 0,3"

jobs:
# Batches Dependabot PRs into one by merging them into a combined branch, then raising a new PR
dependabot-batcher:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repo"
uses: actions/checkout@v3
with:
token: ${{ secrets.DEPENDABOT_BATCH_TOKEN }}

- name: Setup Node
uses: actions/[email protected]
with:
node-version: lts/*

- name: "Combine Dependabot PRs"
uses: "Legal-and-General/[email protected]"
with:
token: ${{ secrets.DEPENDABOT_BATCH_TOKEN }}
baseBranchName: "main"
batchPullTitle: "chore(deps): dependabot batch updates"
uses: prosegrinder/.github/.github/workflows/dependabot-batcher.yaml@main
secrets:
DEPENDABOT_BATCH_TOKEN: ${{ secrets.DEPENDABOT_BATCH_TOKEN }}

0 comments on commit 0c87a57

Please sign in to comment.