Skip to content

Commit

Permalink
patch: use org dependabot batcher
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlday committed Dec 11, 2022
1 parent 898e5b9 commit 87ff374
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/setup-node@v3.5.1
with:
node-version: lts/*

- name: "Combine Dependabot PRs"
uses: "Legal-and-General/dependabot-batcher@v1.0.2"
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 87ff374

Please sign in to comment.