diff --git a/.github/workflows/bump-version.yaml b/.github/workflows/bump-version.yaml index d2fdd6b..4262bdd 100644 --- a/.github/workflows/bump-version.yaml +++ b/.github/workflows/bump-version.yaml @@ -36,6 +36,7 @@ jobs: repo: speakeasy cli_name: speakeasy package_type: zip + version: 1.455.7 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/generate_on_pr.yaml b/.github/workflows/generate_on_pr.yaml index 3611ea0..9e04045 100644 --- a/.github/workflows/generate_on_pr.yaml +++ b/.github/workflows/generate_on_pr.yaml @@ -47,6 +47,7 @@ jobs: repo: speakeasy cli_name: speakeasy package_type: zip + version: 1.455.7 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy - name: Checkout current repo uses: actions/checkout@v4 diff --git a/renovate.json b/renovate.json index 33f1bc4..cf46cb8 100644 --- a/renovate.json +++ b/renovate.json @@ -3,16 +3,44 @@ "extends": [ "config:recommended" ], + "enabledManagers": [ + "custom.regex", + "gomod" + ], + "labels": [ + "dependencies" + ], + "schedule": "before 5am every weekday", "packageRules": [ { - "packagePatterns": ["*"], + "matchManagers": [ + "gomod" + ], + "matchPackageNames": [ + "*" + ], "enabled": false }, { - "packageNames": [ + "matchManagers": [ + "gomod" + ], + "matchPackageNames": [ "github.com/stretchr/testify" ], "enabled": true + } + ], + "customManagers": [ + { + "description": "Match dependencies in .github/workflows/.*.yaml that are properly annotated with `# renovate: datasource={} depName={}.`", + "customType": "regex", + "fileMatch": [ + "^.github/workflows/.*.yaml$" + ], + "matchStrings": [ + "(?[0-9.]+?)\\s+#\\s+renovate:\\s+datasource=(?.*?)\\s+depName=(?.*?)\\n" + ] } ] }