Skip to content

Commit

Permalink
Dependabot fixes for v2 (#1183)
Browse files Browse the repository at this point in the history
* Specify push target

* include v3
  • Loading branch information
lestrrat authored Sep 25, 2024
1 parent c5d7db2 commit 4aae462
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
27 changes: 18 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,37 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
target-branch: "develop/v3"
labels:
- "go"
- "dependencies"
- "dependabot"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
target-branch: "develop/v2"
labels:
- "go"
- "dependencies"
- "dependabot"
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
target-branch: "develop/v1"
labels:
- "go"
- "dependencies"
- "dependabot"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
target-branch: "develop/v3"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
git config --local user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "Run tidy / bazel+gazelle"
git push
git push origin HEAD:GITHUB_HEAD_REF
gh pr review --approve "$PR_URL"
gh pr merge --auto --merge "$PR_URL"
env:
Expand Down

0 comments on commit 4aae462

Please sign in to comment.