From 50ddc61576d2b7d8b86471435ec97a959387ebce Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 6 Apr 2024 08:00:59 +0200 Subject: [PATCH 1/4] Update module github.com/google/go-github/v60 to v61 (#3595) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/google/go-github/v60](https://togithub.com/google/go-github) | `v60.0.0` -> `v61.0.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fgo-github%2fv60/v61.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoogle%2fgo-github%2fv60/v61.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoogle%2fgo-github%2fv60/v60.0.0/v61.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fgo-github%2fv60/v60.0.0/v61.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
google/go-github (github.com/google/go-github/v60) ### [`v61.0.0`](https://togithub.com/google/go-github/releases/tag/v61.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v60.0.0...v61.0.0) This release contains the following breaking API changes: - feat!: Update deprecated endpoints in github/action_variables.go ([#​3104](https://togithub.com/google/go-github/issues/3104)) ...and the following additional changes: - Bump go-github from v59 to v60 in /scrape ([#​3087](https://togithub.com/google/go-github/issues/3087)) - Allow querying rule set information by ID with information returned from GetRulesFromBranch ([#​3089](https://togithub.com/google/go-github/issues/3089)) - Bump codecov/codecov-action from 4.0.2 to 4.1.0 ([#​3091](https://togithub.com/google/go-github/issues/3091)) - Bump github.com/PuerkitoBio/goquery from 1.9.0 to 1.9.1 in /scrape ([#​3092](https://togithub.com/google/go-github/issues/3092)) - Add Protection to Branch struct ([#​3095](https://togithub.com/google/go-github/issues/3095)) - Bump github.com/alecthomas/kong from 0.8.1 to 0.9.0 in /tools ([#​3097](https://togithub.com/google/go-github/issues/3097)) - Bump golang.org/x/net from 0.21.0 to 0.22.0 in /scrape ([#​3096](https://togithub.com/google/go-github/issues/3096)) - Bump google.golang.org/protobuf from 1.28.0 to 1.33.0 in /example ([#​3099](https://togithub.com/google/go-github/issues/3099)) - Add audit log rate limit category and make rate limit category getter public ([#​3088](https://togithub.com/google/go-github/issues/3088)) - Update README.md ([#​3110](https://togithub.com/google/go-github/issues/3110)) - Allow Installation of Custom Properties Permissions ([#​3108](https://togithub.com/google/go-github/issues/3108)) - Add NotificationSetting to NewTeam ([#​3111](https://togithub.com/google/go-github/issues/3111)) - Fix pagination for ListCopilotSeats ([#​3112](https://togithub.com/google/go-github/issues/3112)) - Add .\*.local to .gitignore ([#​3115](https://togithub.com/google/go-github/issues/3115)) - Add CreateOrUpdateRepoCustomPropertyValues ([#​3109](https://togithub.com/google/go-github/issues/3109)) - Bump version of go-github to v61.0.0 ([#​3118](https://togithub.com/google/go-github/issues/3118))
--- ### Configuration πŸ“… **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- 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/woodpecker-ci/woodpecker). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- server/forge/github/convert.go | 2 +- server/forge/github/convert_test.go | 2 +- server/forge/github/github.go | 2 +- server/forge/github/parse.go | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 3911834ec..45ce43c98 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( github.com/go-ap/httpsig v0.0.0-20221203064646-3647b4d88fdf github.com/go-sql-driver/mysql v1.8.1 github.com/golang-jwt/jwt/v5 v5.2.1 - github.com/google/go-github/v60 v60.0.0 + github.com/google/go-github/v61 v61.0.0 github.com/google/tink/go v1.7.0 github.com/gorilla/securecookie v1.1.2 github.com/jellydator/ttlcache/v3 v3.2.0 diff --git a/go.sum b/go.sum index 10da8303d..be0b36f2a 100644 --- a/go.sum +++ b/go.sum @@ -191,8 +191,8 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-github/v60 v60.0.0 h1:oLG98PsLauFvvu4D/YPxq374jhSxFYdzQGNCyONLfn8= -github.com/google/go-github/v60 v60.0.0/go.mod h1:ByhX2dP9XT9o/ll2yXAu2VD8l5eNVg8hD4Cr0S/LmQk= +github.com/google/go-github/v61 v61.0.0 h1:VwQCBwhyE9JclCI+22/7mLB1PuU9eowCXKY5pNlu1go= +github.com/google/go-github/v61 v61.0.0/go.mod h1:0WR+KmsWX75G2EbpyGsGmradjo3IiciuI4BmdVCobQY= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= diff --git a/server/forge/github/convert.go b/server/forge/github/convert.go index 5fcc352ab..d7dd9e531 100644 --- a/server/forge/github/convert.go +++ b/server/forge/github/convert.go @@ -18,7 +18,7 @@ package github import ( "fmt" - "github.com/google/go-github/v60/github" + "github.com/google/go-github/v61/github" "go.woodpecker-ci.org/woodpecker/v2/server/model" ) diff --git a/server/forge/github/convert_test.go b/server/forge/github/convert_test.go index 7894cd00b..0d74417ea 100644 --- a/server/forge/github/convert_test.go +++ b/server/forge/github/convert_test.go @@ -19,7 +19,7 @@ import ( "testing" "github.com/franela/goblin" - "github.com/google/go-github/v60/github" + "github.com/google/go-github/v61/github" "go.woodpecker-ci.org/woodpecker/v2/server/model" ) diff --git a/server/forge/github/github.go b/server/forge/github/github.go index d48fec314..74734b1cc 100644 --- a/server/forge/github/github.go +++ b/server/forge/github/github.go @@ -26,7 +26,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v60/github" + "github.com/google/go-github/v61/github" "github.com/rs/zerolog/log" "golang.org/x/oauth2" diff --git a/server/forge/github/parse.go b/server/forge/github/parse.go index 4d47b10cc..d6a5fb669 100644 --- a/server/forge/github/parse.go +++ b/server/forge/github/parse.go @@ -22,7 +22,7 @@ import ( "net/http" "strings" - "github.com/google/go-github/v60/github" + "github.com/google/go-github/v61/github" "go.woodpecker-ci.org/woodpecker/v2/server/forge/types" "go.woodpecker-ci.org/woodpecker/v2/server/model" From ce5712831785f7defa13966405160a38db46a3af Mon Sep 17 00:00:00 2001 From: qwerty287 Date: Fri, 5 Apr 2024 15:35:16 +0000 Subject: [PATCH 2/4] Translated using Weblate (German) Currently translated at 100.0% (371 of 371 strings) Translation: Woodpecker CI/UI Translate-URL: http://translate.woodpecker-ci.org/projects/woodpecker-ci/ui/de/ --- web/src/assets/locales/de.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/assets/locales/de.json b/web/src/assets/locales/de.json index a9731e1aa..4e394674a 100644 --- a/web/src/assets/locales/de.json +++ b/web/src/assets/locales/de.json @@ -391,6 +391,10 @@ "public": "Γ–ffentlich" }, "visibility": "Sichtbarkeit des Projekts" + }, + "allow_deploy": { + "allow": "Deployments erlauben", + "desc": "Deployments von erolgreichen Pipelines erlauben. Nur benutzen, wenn du allen Nutzern mit Push-Zugriff vertraust." } }, "not_allowed": "Zugriff auf die Einstellungen dieses Repositories nicht erlaubt", From e1b8fa6a67c8aa7bd3c9ff128ad688f8caae7762 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 07:27:22 +0200 Subject: [PATCH 3/4] Update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0 (#3597) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pre-commit/pre-commit-hooks](https://togithub.com/pre-commit/pre-commit-hooks) | repository | minor | `v4.5.0` -> `v4.6.0` | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://togithub.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes
pre-commit/pre-commit-hooks (pre-commit/pre-commit-hooks) ### [`v4.6.0`](https://togithub.com/pre-commit/pre-commit-hooks/releases/tag/v4.6.0): pre-commit-hooks v4.6.0 [Compare Source](https://togithub.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) ##### Features - `requirements-txt-fixer`: remove duplicate packages. - [#​1014](https://togithub.com/pre-commit/pre-commit-hooks/issues/1014) PR by [@​vhoulbreque-withings](https://togithub.com/vhoulbreque-withings). - [#​960](https://togithub.com/pre-commit/pre-commit-hooks/issues/960) issue [@​csibe17](https://togithub.com/csibe17). ##### Migrating - `fix-encoding-pragma`: deprecated -- will be removed in 5.0.0. use [pyupgrade](https://togithub.com/asottile/pyupgrade) or some other tool. - [#​1033](https://togithub.com/pre-commit/pre-commit-hooks/issues/1033) PR by [@​mxr](https://togithub.com/mxr). - [#​1032](https://togithub.com/pre-commit/pre-commit-hooks/issues/1032) issue by [@​mxr](https://togithub.com/mxr).
--- ### Configuration πŸ“… **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- 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/woodpecker-ci/woodpecker). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7716d4fa8..088f65d38 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: check-hooks-apply - id: check-useless-excludes - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace From d0e63375faf24dc480a904cd18ca6ba28e1ea024 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 07:54:28 +0200 Subject: [PATCH 4/4] Update docker.io/golang Docker tag to v1.22.2 (#3596) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | docker.io/golang | patch | `1.22.1` -> `1.22.2` | --- ### Configuration πŸ“… **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC). 🚦 **Automerge**: Enabled. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- 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/woodpecker-ci/woodpecker). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .woodpecker/binaries.yaml | 2 +- .woodpecker/docker.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/binaries.yaml b/.woodpecker/binaries.yaml index 73c589f0b..2109c4840 100644 --- a/.woodpecker/binaries.yaml +++ b/.woodpecker/binaries.yaml @@ -2,7 +2,7 @@ when: event: tag variables: - - &golang_image 'docker.io/golang:1.22.1' + - &golang_image 'docker.io/golang:1.22.2' - &node_image 'docker.io/node:21-alpine' - &xgo_image 'docker.io/techknowlogick/xgo:go-1.22.1' - &xgo_version 'go-1.21.2' diff --git a/.woodpecker/docker.yaml b/.woodpecker/docker.yaml index d1a5eea94..592a2030a 100644 --- a/.woodpecker/docker.yaml +++ b/.woodpecker/docker.yaml @@ -1,5 +1,5 @@ variables: - - &golang_image 'docker.io/golang:1.22.1' + - &golang_image 'docker.io/golang:1.22.2' - &node_image 'docker.io/node:21-alpine' - &xgo_image 'docker.io/techknowlogick/xgo:go-1.22.1' - &xgo_version 'go-1.21.2'