diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 32efae2c..ef321ab9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,12 +1,16 @@ -# 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" @@ -14,8 +18,8 @@ updates: - "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" @@ -23,6 +27,11 @@ updates: - "go" - "dependencies" - "dependabot" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + target-branch: "develop/v3" - package-ecosystem: "github-actions" directory: "/" schedule: diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 7125642d..57b0002d 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -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: