-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The bundler PRs are getting out of control. Let's try and rein them in.
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
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
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' |