Skip to content

Commit

Permalink
chore: configure renovate (#94)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This
is an onboarding PR to help you understand and configure settings before
regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate,
simply close this Pull Request unmerged.



---
### Detected Package Files

 * `.github/workflows/build.yml` (github-actions)
 * `.github/workflows/lint.yml` (github-actions)
 * `.github/workflows/release-please.yml` (github-actions)
 * `.github/workflows/release.yml` (github-actions)
 * `.github/workflows/test.yml` (github-actions)
 * `go.mod` (gomod)
 * `.github/workflows/lint.yml` (regex)

### Configuration Summary

Based on the default config's presets, Renovate will:

  - Start dependency updates only once this onboarding PR is merged
  - Show all Merge Confidence badges for pull requests.
  - Enable Renovate Dependency Dashboard creation.
- Use semantic commit type `fix` for dependencies and `chore` for all
others if semantic commits are in use.
- Ignore `node_modules`, `bower_components`, `vendor` and various
test/tests directories.
  - Group known monorepo packages together.
  - Use curated list of recommended non-monorepo package groupings.
  - Apply crowd-sourced package replacement rules.
  - Apply crowd-sourced workarounds for known problems with packages.
  - Use semantic prefixes for commit messages and PR titles.
  - Disable semantic commit scope for all commits and PR titles.
- If Renovate detects semantic commits, it will use semantic commit type
`deps` for all commits.
  - Enable the pre-commit manager.

🔡 Would you like to change the way Renovate is upgrading your
dependencies? Simply edit the `renovate.json` in this branch with your
custom config and the list of Pull Requests in the "What to Expect"
section below will be updated the next time Renovate runs.

---

### What to Expect

With your current configuration, Renovate will create 7 Pull Requests:

<details>
<summary>deps: update dependency golangci/golangci-lint to
v1.55.2</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/golangci-golangci-lint-1.x`
  - Merge into: `main`
- Upgrade
[golangci/golangci-lint](https://togithub.com/golangci/golangci-lint) to
`v1.55.2`


</details>

<details>
<summary>deps: update module github.com/hashicorp/hcl/v2 to
v2.19.1</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/github.com-hashicorp-hcl-v2-2.x`
  - Merge into: `main`
- Upgrade
[github.com/hashicorp/hcl/v2](https://togithub.com/hashicorp/hcl) to
`v2.19.1`


</details>

<details>
<summary>deps: update module github.com/hetznercloud/hcloud-go/v2 to
v2.4.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/github.com-hetznercloud-hcloud-go-v2-2.x`
  - Merge into: `main`
- Upgrade
[github.com/hetznercloud/hcloud-go/v2](https://togithub.com/hetznercloud/hcloud-go)
to `v2.4.0`


</details>

<details>
<summary>deps: update module github.com/mitchellh/mapstructure to
v1.5.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/github.com-mitchellh-mapstructure-1.x`
  - Merge into: `main`
- Upgrade
[github.com/mitchellh/mapstructure](https://togithub.com/mitchellh/mapstructure)
to `v1.5.0`


</details>

<details>
<summary>deps: update module github.com/nywilken/go-cty to
v1.13.3</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/github.com-nywilken-go-cty-1.x`
  - Merge into: `main`
- Upgrade
[github.com/nywilken/go-cty](https://togithub.com/nywilken/go-cty) to
`v1.13.3`


</details>

<details>
<summary>deps: update module github.com/zclconf/go-cty to
v1.14.1</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/github.com-zclconf-go-cty-1.x`
  - Merge into: `main`
- Upgrade
[github.com/zclconf/go-cty](https://togithub.com/zclconf/go-cty) to
`v1.14.1`


</details>

<details>
<summary>deps: update module github.com/nywilken/go-cty to v2</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/github.com-nywilken-go-cty-2.x`
  - Merge into: `main`
- Upgrade
[github.com/nywilken/go-cty](https://togithub.com/nywilken/go-cty) to
`v2.0.0`


</details>

<br />

🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't
swamp any CI resources or overwhelm the project. See docs for
`prhourlylimit` for details.


---

❓ Got questions? Check out Renovate's
[Docs](https://docs.renovatebot.com/), particularly the Getting Started
section.
If you need any further assistance then you can also [request help
here](https://togithub.com/renovatebot/renovate/discussions).


---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/hetznercloud/packer-plugin-hcloud).


<!--renovate-config-hash:79082ce95dcc12dbc661bd2ed314f7fd38e8822ec134174f6f68017d10f7d4df-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <[email protected]>
  • Loading branch information
renovate[bot] and jooola authored Nov 6, 2023
1 parent 21c739b commit 08f4f57
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
go-version: "1.20"

- uses: goreleaser/goreleaser-action@v4
- uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean --timeout 120m --snapshot --skip=sign
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
Expand All @@ -25,7 +25,7 @@ jobs:
check-mod-tidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
Expand All @@ -39,7 +39,7 @@ jobs:
check-generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
Expand All @@ -34,7 +34,7 @@ jobs:
run: echo "api_version=$(go run . describe | jq -r '.api_version')" >> "$GITHUB_OUTPUT"

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean --timeout 120m
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
Expand All @@ -39,7 +39,7 @@ jobs:

runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
Expand Down
4 changes: 4 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>hetznercloud/.github//renovate/default"]
}

0 comments on commit 08f4f57

Please sign in to comment.