From 95b06935e49861112ca732ca004c8239e336a805 Mon Sep 17 00:00:00 2001 From: CFT Bot Date: Tue, 22 Aug 2023 10:11:38 -0700 Subject: [PATCH 1/4] chore: update .github/workflows/stale.yml --- .github/workflows/stale.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 3db17c00b..1f92bf9a7 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -22,6 +22,7 @@ on: jobs: stale: + if: github.repository_owner == 'GoogleCloudPlatform' || github.repository_owner == 'terraform-google-modules' runs-on: ubuntu-latest steps: - uses: actions/stale@v8 From 09c7c89eb5ca0f8844d0b5393af78d107d33dd1a Mon Sep 17 00:00:00 2001 From: CFT Bot Date: Thu, 24 Aug 2023 09:05:02 -0700 Subject: [PATCH 2/4] chore: update .github/renovate.json --- .github/renovate.json | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 5d9e0435e..b68ca8fbb 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,37 +1,34 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:base", + "config:recommended", ":semanticCommits", ":preserveSemverRanges", ":rebaseStalePrs" ], - "stabilityDays":7, + "minimumReleaseAge": "7 days", "ignorePaths": [], "labels": ["dependencies"], - "vulnerabilityAlerts":{ - "labels":[ - "type:security" - ], - "stabilityDays":0 - }, - "separateMajorMinor":false, - "constraints": { - "go": "1.20" + "vulnerabilityAlerts": { + "labels": ["type:security"], + "minimumReleaseAge": null }, + "constraints": {"go": "1.20"}, "packageRules": [ { - "matchPaths": ["examples/**", "test/**", ".github/**"], + "matchFileNames": ["examples/**", "test/**", ".github/**"], "extends": [":semanticCommitTypeAll(chore)"] }, { - "matchPaths": ["*", "modules/**"], + "matchFileNames": ["*", "modules/**"], "extends": [":semanticCommitTypeAll(fix)"] }, { - "matchDepTypes": ["module"], - "groupName": "TF modules" + "matchFileNames": ["*", "modules/**"], + "matchUpdateTypes": "major", + "commitMessagePrefix": "fix(deps)!:" }, + {"matchDepTypes": ["module"], "groupName": "TF modules"}, { "matchDepTypes": ["require"], "groupName": "GO modules", @@ -45,20 +42,24 @@ }, { "matchPackageNames": ["google", "google-beta"], - "groupName": "terraform googles" + "groupName": "Terraform Google Provider" } ], "regexManagers": [ { "fileMatch": ["(^|/)Makefile$"], - "matchStrings": ["DOCKER_TAG_VERSION_DEVELOPER_TOOLS := (?.*?)\\n"], + "matchStrings": [ + "DOCKER_TAG_VERSION_DEVELOPER_TOOLS := (?.*?)\\n" + ], "datasourceTemplate": "docker", "registryUrlTemplate": "https://gcr.io/cloud-foundation-cicd", "depNameTemplate": "cft/developer-tools" }, { "fileMatch": ["(^|/)build/(int|lint)\\.cloudbuild\\.yaml$"], - "matchStrings": [" _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '(?.*?)'\\n"], + "matchStrings": [ + " _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '(?.*?)'\\n" + ], "datasourceTemplate": "docker", "registryUrlTemplate": "https://gcr.io/cloud-foundation-cicd", "depNameTemplate": "cft/developer-tools" From 53b37e0726253e38dbbdf967132102bdfd5a7489 Mon Sep 17 00:00:00 2001 From: CFT Bot Date: Mon, 11 Sep 2023 14:57:17 -0700 Subject: [PATCH 3/4] chore: update .github/workflows/lint.yaml --- .github/workflows/lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 4e0441fe3..14d6d061b 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -31,7 +31,7 @@ jobs: name: 'lint' runs-on: 'ubuntu-latest' steps: - - uses: 'actions/checkout@v3' + - uses: 'actions/checkout@v4' - id: variables run: | MAKEFILE=$(find . -name Makefile -print -quit) From ecf8b3c2195647bcbda8a68add614958eada60bf Mon Sep 17 00:00:00 2001 From: CFT Bot Date: Mon, 11 Sep 2023 15:21:51 -0700 Subject: [PATCH 4/4] chore: update .github/renovate.json --- .github/renovate.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index b68ca8fbb..96668148b 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -7,7 +7,7 @@ ":rebaseStalePrs" ], "minimumReleaseAge": "7 days", - "ignorePaths": [], + "ignorePaths": [".github/workflows/lint.yaml", ".github/workflows/stale.yml"], "labels": ["dependencies"], "vulnerabilityAlerts": { "labels": ["type:security"], @@ -17,11 +17,11 @@ "packageRules": [ { "matchFileNames": ["examples/**", "test/**", ".github/**"], - "extends": [":semanticCommitTypeAll(chore)"] + "commitMessagePrefix": "chore(deps):" }, { "matchFileNames": ["*", "modules/**"], - "extends": [":semanticCommitTypeAll(fix)"] + "commitMessagePrefix": "fix(deps):" }, { "matchFileNames": ["*", "modules/**"], @@ -41,7 +41,7 @@ "postUpdateOptions": ["gomodTidy"] }, { - "matchPackageNames": ["google", "google-beta"], + "matchDepNames": ["google", "google-beta"], "groupName": "Terraform Google Provider" } ],