-
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.
chore(deps): add dependabot bundler (#647)
* chore(deps): add dependabot bundler The bundler PRs are getting out of control. Let's try and rein them in. * updating the action to use signing * remove pgp signing and add label
- Loading branch information
Showing
2 changed files
with
48 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,40 @@ | ||
name: bundlebot | ||
|
||
on: | ||
workflow_dispatch: {} | ||
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/[email protected] | ||
- name: Run Dependabot Bundler | ||
run: | | ||
dependabot-bundler \ | ||
--token ${{ secrets.GITHUB_TOKEN }} \ | ||
--owner weaveworks-liquidmetal \ | ||
--repo flintlock \ | ||
--labels 'area/dependency,kind/cleanup,user-signing-required' \ | ||
--pr-title 'chore(deps): Bundle dependabot pull requests' |
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