diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 0000000000000000000000000000000000000000..b5802d0b4f2b23e9b7c4307492b48bb25d4b7c8d --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,20 @@ +name: Renovate +on: + schedule: + - cron: "0 * * * *" + workflow_dispatch: +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + with: + fetch-depth: 0 + - name: Run Renovate + uses: renovatebot/github-action@v46.1.10 + with: + token: ${{ secrets.HOMEBREW_GITHUB_TOKEN }} + configurationFile: renovate.json + env: + RENOVATE_REPOSITORIES: floatpane/matcha diff --git a/renovate.json b/renovate.json index 0dd8616eaefe982f96f50da8c796a47dd66b5ded..9ead3aa2008dfe1632ece9db28258e950c725c6a 100644 --- a/renovate.json +++ b/renovate.json @@ -4,9 +4,14 @@ "postUpdateOptions": ["gomodTidy"], "packageRules": [ { + "matchManagers": ["gomod"], "matchDepNames": ["go"], - "groupName": "go", "rangeStrategy": "bump" + }, + { + "matchManagers": ["github-actions"], + "matchDepNames": ["go"], + "groupName": "go" } ] }