Skip to content

Dependabot Batcher: Scheduled #86

Dependabot Batcher: Scheduled

Dependabot Batcher: Scheduled #86

name: "Dependabot Batcher: Scheduled"
on:
workflow_dispatch:
schedule:
- 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: "master"
batchPullTitle: "chore(deps): dependabot batch updates"