From 24005ae7aeed77bdf68ded7b1509be25dcdd1369 Mon Sep 17 00:00:00 2001 From: MaineK00n Date: Sun, 26 Dec 2021 07:48:11 +0900 Subject: [PATCH] chore(GHActions): replace with dependabot (#1348) * chore(GHActions): replace with dependabot * chore(GHActions): remove tidy.yml due to deprecation --- .github/dependabot.yml | 12 ++++++++++++ .github/workflows/tidy.yml | 22 ---------------------- 2 files changed, 12 insertions(+), 22 deletions(-) create mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/tidy.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..8e48e164 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# 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 + schedule: + interval: "weekly" + target-branch: "master" diff --git a/.github/workflows/tidy.yml b/.github/workflows/tidy.yml deleted file mode 100644 index 1b2825fc..00000000 --- a/.github/workflows/tidy.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: go-mod-tidy-pr - -on: - schedule: - - cron: "0 0 * * 1" # Weekly build - -jobs: - go-mod-tidy-pr: - name: go-mod-tidy-pr - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Run go-mod-tidy-pr - uses: sue445/go-mod-tidy-pr@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - git_user_name: kotakanbe - git_user_email: kotakanbe@gmail.com - go_version: 1.16.x