v0.7.0
Update actions/setup-go action to v5 @renovate (#16)
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
actions/setup-go | action | major | v3 -> v5 |
Release Notes
Update actions/checkout action to v4 @renovate (#15)
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
actions/checkout | action | major | v2 -> v4 |
actions/checkout | action | major | v3 -> v4 |
Release Notes
Update mszostok/codeowners-validator action to v0.7.4 @renovate (#7)
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
mszostok/codeowners-validator | action | patch | v0.7.1 -> v0.7.4 |
Release Notes
mszostok/codeowners-validator (mszostok/codeowners-validator)
v0.7.4
🎉 GitHub Codeowners Validator 0.7.4 is now available!
Highlights
✨ New functionality
-
Support GitHub App authentication (#146) (@julienduchesne)
Now, you can use the GitHub App auth instead of private token. Read more here: https://github.com/mszostok/codeowners-validator/blob/main/docs/gh-token.md#github-app. -
New experimental check: Avoid shadowing (#149) (@julienduchesne)
Reports if entries go from least specific to most specific. Otherwise, earlier entries are completely ignored.For example:
First entry
/build/logs/ @​octocat
Shadows - reported as error
* @​s1
/b*/logs @​s5
OK
/b*/other @​o1
/script/* @​o2
```
🔧 Bug Fixes
- Apply hot fix to resolve issue with untrusted git repository for
not-owned
checker (#148) (@mszostok)
Added to solve problem whttps://github.com/actions/checkout/issues/766/766.
Changelog
7dfc6dc
: Support Github App authentication (#146) (@julienduchesne)0e995bc
: New experimental check: Avoid shadowing (#149) (@julienduchesne)d1be488
: Apply hot fix to resolve issue with untrusted git repository fornot-owned
checker (#148) (@mszostok)cfa4033
: Update main README.md (#153) (@mszostok)7f3f5e2
: Adjust docs and GitHub action for v0.7.4 release (#154) (@mszostok)
v0.7.3
🎉 GitHub Codeowners Validator 0.7.3 is now available!
Highlights
✨ New functionality
- not-owned-checker: Add git-ls-tree implementation with subdirectory support (#141) (@jeremycohen)
Now you can specify against which subdirectories thenot-owned
check should be executed. To configure that, use theNOT_OWNED_CHECKER_SUBDIRECTORIES
environment variable. In the default mode, it works as previously, where all files are checked. - Add GitHub token validation to get rid of misleading error checks (#143)
🔧 Bug Fixes
- Fix scope and internal error handling (#145) (@mszostok)
The previous release informs the user about the internal error, but the exit code was not properly propagated. Now, besides the error message, the exit code is also set.
Changelog
a16e4b9
: not-owned-checker: Add git-ls-tree implementation with subdirectory support (#141) (@jeremycohen)2ae5a4b
: Add token validation when necessary, fmt shell code, enable 'gocritics' (#143) (@mszostok)4e0aa9d
: Prepare for release v0.7.3 (#144) (@mszostok)436c7ac
: Fix scope and internal error handling (#145) (@mszostok)
v0.7.2
🎉 GitHub Codeowners Validator 0.7.2 is now available!
Highlights
🔧 Bug Fixes
- Handle internal err, return issue with empty codeowners or git dirty state (#130)
This fixes a tech debt wherecodeowners-validator
only logged the internal error and excited with0
status code. Now, if there is any error, a proper exit code is returned. - Allow comments in pattern line, update golangci-lint (#129) (@mszostok)
Recently, GitHub allowed comments in CODEOWNERS files to appear at the end of a line, not just on their own line. As a result, a validation rule was removed to conform with a new syntax.
✨ New checks
- Add a flag to only allow teams as owners (#127) (@seveas)
Now you can enable more strict rule and specify that only teams are allowed as owners of files.
🛡️ Security
- Bump dependencies (#135) (@mszostok)
- Bump alpine from 3.15.3 to 3.15.4 (#136) (@dependabot[bot])
Installation
See the Installation section for more installation options.
Docker images
ghcr.io:
docker pull ghcr.io/mszostok/codeowners-validator:stable
docker pull ghcr.io/mszostok/codeowners-validator:v0
docker pull ghcr.io/mszostok/codeowners-validator:v0.7
docker pull ghcr.io/mszostok/codeowners-validator:v0.7.2
Changelog 🚀
d95ed83
: Allow comments in pattern line, update golangci-lint (#129) (@mszostok)d7b92b1
: Handle internal err, return issue with empty codeowners or git dirty state (#130) (@mszostok)bcdcc57
: Bump dependencies (#135) (@mszostok)3315c00
: Add a flag to only allow teams as owners (#127) (@seveas)5b87d6b
: Add missing cfg in action.yml, add missing test for 'OwnersMustBeTeams' check (#137) (@mszostok)127e9a8
: Bump alpine from 3.15.3 to 3.15.4 (#136) (@dependabot[bot])f555ba6
: Prepare for release v0.7.2 (#138) (@mszostok)
Update module github.com/stretchr/testify to v1.9.0 @renovate (#14)
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
github.com/stretchr/testify | v1.8.4 -> v1.9.0 |
Release Notes
stretchr/testify (github.com/stretchr/testify)
v1.9.0
What's Changed
- Fix Go modules version by @SuperQ in https://github.com/stretchr/testify/pull/1394
- Document that require is not safe to call in created goroutines by @programmer04 in https://github.com/stretchr/testify/pull/1392
- Remove myself from MAINTAINERS.md by @mvdkleijn in https://github.com/stretchr/testify/pull/1367
- Correct spelling/grammar by @echarrod in https://github.com/stretchr/testify/pull/1389
- docs: Update URLs in README by @davidjb in https://github.com/stretchr/testify/pull/1349
- Update mockery link to Github Pages in README by @LandonTClipp in https://github.com/stretchr/testify/pull/1346
- docs: Fix typos in tests and comments by @alexandear in https://github.com/stretchr/testify/pull/1410
- CI: tests from go1.17 by @SuperQ in https://github.com/stretchr/testify/pull/1409
- Fix adding ? when no values passed by @lesichkovm in https://github.com/stretchr/testify/pull/1320
- codegen: use standard header for generated files by @dolmen in https://github.com/stretchr/testify/pull/1406
- mock: AssertExpectations log reason only on failure by @hikyaru-suzuki in https://github.com/stretchr/testify/pull/1360
- assert: fix flaky TestNeverTrue by @dolmen in https://github.com/stretchr/testify/pull/1417
- README: fix typos "set up" vs "setup" by @ossan-dev in https://github.com/stretchr/testify/pull/1428
- mock: move regexp compilation outside of
Called
by @aud10slave in https://github.com/stretchr/testify/pull/631 - assert: refactor internal func getLen() by @dolmen in https://github.com/stretchr/testify/pull/1445
- mock: deprecate type AnythingOfTypeArgument (#1434) by @dolmen in https://github.com/stretchr/testify/pull/1441
- Remove no longer needed assert.canConvert by @alexandear in https://github.com/stretchr/testify/pull/1470
- assert: ObjectsAreEqual: use time.Equal for time.Time types by @tscales in https://github.com/stretchr/testify/pull/1464
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/stretchr/testify/pull/1466
- Bump actions/setup-go from 3.2.0 to 4.1.0 by @dependabot in https://github.com/stretchr/testify/pull/1451
- fix: make EventuallyWithT concurrency safe by @czeslavo in https://github.com/stretchr/testify/pull/1395
- assert: fix httpCode and HTTPBody occur panic when http.Handler read Body by @hidu in https://github.com/stretchr/testify/pull/1484
- assert.EqualExportedValues: fix handling of arrays by @zrbecker in https://github.com/stretchr/testify/pull/1473
- .github: use latest Go versions by @kevinburkesegment in https://github.com/stretchr/testify/pull/1489
- assert: Deprecate EqualExportedValues by @HaraldNordgren in https://github.com/stretchr/testify/pull/1488
- suite: refactor test assertions by @alexandear in https://github.com/stretchr/testify/pull/1474
- suite: fix SetupSubTest and TearDownSubTest execution order by @linusbarth in https://github.com/stretchr/testify/pull/1471
- docs: Fix deprecation comments for http package by @alexandear in https://github.com/stretchr/testify/pull/1335
- Add map support doc comments to Subset and NotSubset by @jedevc in https://github.com/stretchr/testify/pull/1306
- TestErrorIs/TestNotErrorIs: check error message contents by @craig65535 in https://github.com/stretchr/testify/pull/1435
- suite: fix subtest names (fix #1501) by @dolmen in https://github.com/stretchr/testify/pull/1504
- assert: improve unsafe.Pointer tests by @dolmen in https://github.com/stretchr/testify/pull/1505
- assert: simplify isNil implementation by @dolmen in https://github.com/stretchr/testify/pull/1506
- assert.InEpsilonSlice: fix expected/actual order and other improvements by @dolmen in https://github.com/stretchr/testify/pull/1483
- Fix dependency cycle with objx #1292 by @dolmen in https://github.com/stretchr/testify/pull/1453
- mock: refactor TestIsArgsEqual by @dolmen in https://github.com/stretchr/testify/pull/1444
- mock: optimize argument matching checks by @dolmen in https://github.com/stretchr/testify/pull/1416
- assert: fix TestEventuallyTimeout by @dolmen in https://github.com/stretchr/testify/pull/1412
- CI: add go 1.21 in GitHub Actions by @dolmen in https://github.com/stretchr/testify/pull/1450
- suite: fix recoverAndFailOnPanic to report test failure at the right location by @dolmen in https://github.com/stretchr/testify/pull/1502
- Update maintainers by @brackendawson in https://github.com/stretchr/testify/pull/1533
- assert: Fix EqualValues to handle overflow/underflow by @arjunmahishi in https://github.com/stretchr/testify/pull/1531
- assert: better formatting for Len() error by @kevinburkesegment in https://github.com/stretchr/testify/pull/1485
- Ensure AssertExpectations does not fail in skipped tests by @ianrose14 in https://github.com/stretchr/testify/pull/1331
- suite: fix deadlock in suite.Require()/Assert() by @arjunmahishi in https://github.com/stretchr/testify/pull/1535
- Revert "assert: ObjectsAreEqual: use time.Equal for time.Time type" by @brackendawson in https://github.com/stretchr/testify/pull/1537
- [chore] Add issue templates by @arjunmahishi in https://github.com/stretchr/testify/pull/1538
- Update the build status badge by @brackendawson in https://github.com/stretchr/testify/pull/1540
- Update Github workflows setup-go to V5 by @hendrywiranto in https://github.com/stretchr/testify/pull/1545
- Support Pointer to Struct in EqualExportedValues by @Lucaber in https://github.com/stretchr/testify/pull/1517
- README: drop link to gorc by @guettli in https://github.com/stretchr/testify/pull/1248
- http_assertions: honour the msgAndArgs provided with each assertion by @arjunmahishi in https://github.com/stretchr/testify/pull/1548
- fix typos in comments and tests by @ccoVeille in https://github.com/stretchr/testify/pull/1247
- Include the auto-release notes in releases by @brackendawson in https://github.com/stretchr/testify/pull/1550
- Add
NotImplements
and variants by @hslatman in https://github.com/stretchr/testify/pull/1385 - Add support to compare uintptr by @bogdandrutu in https://github.com/stretchr/testify/pull/1339
- build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2 by @dependabot in https://github.com/stretchr/testify/pull/1552
New Contributors
- @SuperQ made their first contribution in https://github.com/stretchr/testify/pull/1394
- @programmer04 made their first contribution in https://github.com/stretchr/testify/pull/1392
- @echarrod made their first contribution in https://github.com/stretchr/testify/pull/1389
- @davidjb made their first contribution in https://github.com/stretchr/testify/pull/1349
- @LandonTClipp made their first contribution in https://github.com/stretchr/testify/pull/1346
- @alexandear made their first contribution in https://github.com/stretchr/testify/pull/1410
- @lesichkovm made their first contribution in https://github.com/stretchr/testify/pull/1320
- @dolmen made their first contribution in https://github.com/stretchr/testify/pull/1406
- @hikyaru-suzuki made their first contribution in https://github.com/stretchr/testify/pull/1360
- @ossan-dev made their first contribution in https://github.com/stretchr/testify/pull/1428
- @aud10slave made their first contribution in https://github.com/stretchr/testify/pull/631
- @tscales made their first contribution in https://github.com/stretchr/testify/pull/1464
- @czeslavo made their first contribution in https://github.com/stretchr/testify/pull/1395
- @hidu made their first contribution in https://github.com/stretchr/testify/pull/1484
- @zrbecker made their first contribution in https://github.com/stretchr/testify/pull/1473
- @kevinburkesegment made their first contribution in https://github.com/stretchr/testify/pull/1489
- @linusbarth made their first contribution in https://github.com/stretchr/testify/pull/1471
- @jedevc made their first contribution in https://github.com/stretchr/testify/pull/1306
- @craig65535 made their first contribution in https://github.com/stretchr/testify/pull/1435
- @arjunmahishi made their first contribution in https://github.com/stretchr/testify/pull/1531
- @ianrose14 made their first contribution in https://github.com/stretchr/testify/pull/1331
- @hendrywiranto made their first contribution in https://github.com/stretchr/testify/pull/1545
- @Lucaber made their first contribution in https://github.com/stretchr/testify/pull/1517
- @guettli made their first contribution in https://github.com/stretchr/testify/pull/1248
- @ccoVeille made their first contribution in https://github.com/stretchr/testify/pull/1247
- @hslatman made their first contribution in https://github.com/stretchr/testify/pull/1385
- @bogdandrutu made their first contribution in https://github.com/stretchr/testify/pull/1339
Full Changelog: stretchr/testify@v1.8.4...v1.9.0
Update module github.com/gruntwork-io/terratest to v0.46.13 @renovate (#6)
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
github.com/gruntwork-io/terratest | v0.46.9 -> v0.46.13 |
Release Notes
gruntwork-io/terratest (github.com/gruntwork-io/terratest)
v0.46.13
Modules affected
docker
Description
- Updated
github.com/docker/docker
from24.0.7+incompatible
to24.0.9+incompatible
Related links
v0.46.12
Description
- Updated google.golang.org/protobuf from 1.31.0 to 1.33.0
- Updated golang.org/x/crypto from 0.14.0 to 0.17.0
- Updated nokogiri from 1.14.3 to 1.16.3
Related links
- https://github.com/gruntwork-io/terratest/pull/1396
- https://github.com/gruntwork-io/terratest/pull/1381
- https://github.com/gruntwork-io/terratest/pull/1397
v0.46.11
Modules affected
aws
Description
- Updated
GetAmazonLinuxAmiE
to search for Amazon Linux 2 AMIs
Related links
v0.46.10
Modules affected
test-structure
git
Description
- Updated
runValidateOnAllTerraformModules
function, which is used under the hood byValidateAllTerraformModules
andOPAEvalAllTerraformModules
, to:
- Find the Git root using
git.GetRepoRootForDirE
, instead of a hard-coded../../
file path. - Copy the Git root to a temp folder once, rather than once per sub-test.