Skip to content

Commit

Permalink
chore(deps): add dependabot bundler
Browse files Browse the repository at this point in the history
The bundler PRs are getting out of control. Let's try and rein them in.
  • Loading branch information
Skarlso committed Mar 3, 2023
1 parent 9b9559f commit 3d2a338
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/dependabot_bundler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: bundlebot

on:
workflow_dispatch: {}
push:
branches: # TODO remove
- bundler-github-action
schedule:
- cron: 0 0 * * 1 # every Monday at 00:00

jobs:
bundler:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version-file: '${{ github.workspace }}/go.mod'
- name: Cache go-build and mod
uses: actions/cache@v2
with:
path: |
~/.cache/go-build/
~/go/pkg/mod/
key: go-${{ hashFiles('go.sum') }}
restore-keys: |
go-
- name: Install Dependabot Bundler
run: |
go install github.com/Skarlso/dependabot-bundler@v0.0.14
- name: Run Dependabot Bundler
run: |
dependabot-bundler \
--token ${{ secrets.GITHUB_TOKEN }} \
--owner weaveworks-liquidmetal \
--repo flintlock \
--labels 'area/dependency,kind/cleanup'

0 comments on commit 3d2a338

Please sign in to comment.