Dependabot Batcher: Scheduled #95
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |