upgrade to latest dependencies (#6238)

bumping knative.dev/hack ce4c934...8f599b7:
  > 8f599b7 Skip whitespace changes in codegen (# 420)
  > 742e1e5 Deprecate knative.dev/hack/schema (# 418)
  > 306ce74 Update community files (# 414)

Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
Knative Automation 2025-03-29 18:32:47 -04:00 committed by GitHub
parent 81ad810f67
commit 71e92a0ba8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 7 additions and 7 deletions

2
go.mod
View File

@ -5,7 +5,7 @@ go 1.21
require (
github.com/google/go-github/v32 v32.1.0
gopkg.in/yaml.v2 v2.3.0
knative.dev/hack v0.0.0-20250217122557-ce4c934f30e5
knative.dev/hack v0.0.0-20250318155814-8f599b7a828c
)
require (

4
go.sum
View File

@ -23,5 +23,5 @@ gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8X
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
knative.dev/hack v0.0.0-20250217122557-ce4c934f30e5 h1:BIkxsbG01S563JJ68n4SIeIpizDlAcf1vgss6b1QAhE=
knative.dev/hack v0.0.0-20250217122557-ce4c934f30e5/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
knative.dev/hack v0.0.0-20250318155814-8f599b7a828c h1:WbSdxtzL02rpfF6KNbAFnWLMCE9TFfrfD39VqgsCuOA=
knative.dev/hack v0.0.0-20250318155814-8f599b7a828c/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=

View File

@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,

View File

@ -138,8 +138,8 @@ function restore-changes-if-its-copyright-year-only() {
git diff --name-only > "$difflist"
while read -r file; do
# check if the file contains just the change in the boilerplate year
if [ "$(LANG=C git diff --exit-code --shortstat -- "$file")" = ' 1 file changed, 1 insertion(+), 1 deletion(-)' ] && \
[[ "$(git diff --exit-code -U1 -- "$file" | grep -Ec '^[+-]\s*[*#]?\s*Copyright 2[0-9]{3}')" -eq 2 ]]; then
if [ "$(LANG=C git diff --ignore-space-change --exit-code --shortstat -- "$file")" = ' 1 file changed, 1 insertion(+), 1 deletion(-)' ] && \
[[ "$(git diff --ignore-space-change --exit-code -U1 -- "$file" | grep -Ec '^[+-]\s*[*#]?\s*Copyright 2[0-9]{3}')" -eq 2 ]]; then
# restore changes to that file
git checkout -- "$file"
fi

2
vendor/modules.txt vendored
View File

@ -22,7 +22,7 @@ golang.org/x/crypto/openpgp/s2k
# gopkg.in/yaml.v2 v2.3.0
## explicit
gopkg.in/yaml.v2
# knative.dev/hack v0.0.0-20250217122557-ce4c934f30e5
# knative.dev/hack v0.0.0-20250318155814-8f599b7a828c
## explicit; go 1.21
knative.dev/hack
# go.opencensus.io => go.opencensus.io v0.20.2