-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#211: Release notes entry enforcement #212
#211: Release notes entry enforcement #212
Conversation
* changed the label to skip issue for release notes from default to `no RN` * added action to verify a PR has Release note comment, unless marked with `no RN` label * added action to copy Release note comment from PR to linked issues upon merge to master
JaCoCo model module code coverage report - scala 2.13.11
|
JaCoCo agent module code coverage report - scala 2.13.11
|
JaCoCo server module code coverage report - scala 2.13.11
|
* improved filtering (hopefully)
…/github.com/AbsaOSS/atum-service into feature/211-release-notes-entry-enforcement
Co-authored-by: miroslavpojer <[email protected]>
.github/workflows/release_notes_comments_copy_from_pr_to_linked_issues.yml
Show resolved
Hide resolved
.github/workflows/release_notes_comments_copy_from_pr_to_linked_issues.yml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My review finished for now, added some comments
@@ -36,5 +36,6 @@ jobs: | |||
name-patterns: '*UnitTests.*,*IntegrationTests.*' | |||
paths: '**/src/test/scala/**' | |||
report-format: 'console' | |||
excludes: 'server/src/test/scala/za/co/absa/atum/server/api/TestData.scala,server/src/test/scala/za/co/absa/atum/server/api/TestTransactorProvider.scala,server/src/test/scala/za/co/absa/atum/server/ConfigProviderTest.scala' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it possiblE to add multi-line exclusions instead of 1 line? Also, is it possible to regexp it? Or at least use wildcard(s)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For multi-line exclusion, see and use filename-inspector branch feature/fix-to-use-correct-syntax
in your yaml.
- See updated README.md for an example.
Regex
- paths support glob patterns (supports **)
- name-patterns and excludes support fnmatch pattern (do not support **)
Feel free to help with PR review on named branch and its PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think wildcards are possible. RegExpt no, at least not yet now (it hasn't been released yet even).
I actually thought to move the classes into own directories, to make the exclusions simpler. But in its own PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add wildcards, here is my testing example:
- name: Test filename-inspector check
id: test-file-suffix
uses: AbsaOSS/filename-inspector@feature/fix-to-use-correct-syntax
with:
name-patterns: |
*GUI*,
*Unit*
paths: |
**/src/test/java/**,
**/src/test/scala/**
excludes: |
*1UnitTest.*,
*thServiceTest.*
report-format: 'csv'
verbose-logging: 'true'
fail-on-violation: 'true'
See link.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The multiline example doesn't seem to work. 😠 Reverting to single line, that worked.
(Tried all kind of formats)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved!
Release notes:
no RN
no RN
labelCloses #211