Skip to content

Merge Dependabot PRs #343

Merge Dependabot PRs

Merge Dependabot PRs #343

name: "Merge Dependabot PRs"
on:
schedule:
# 8:30am UTC, Mon-Fri. There is also logic within the script to prevent running on bank holidays.
- cron: '30 8 * * 1-5'
workflow_dispatch: {}
jobs:
merge-dependabot-prs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run Dependabot-merger script
env:
AUTO_MERGE_TOKEN: ${{ secrets.AUTO_MERGE_TOKEN }}
run: |
bundle exec ruby bin/merge_dependabot_prs.rb