Skip to content

Commit

Permalink
* Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benedeki committed Jun 20, 2024
1 parent d40d31e commit 157deaa
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
#
# Copyright 2021 ABSA Group Limited
#
# 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
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name: Release Notes Comments Copy from PR to Linked Issues

on:
Expand All @@ -20,7 +36,7 @@ jobs:
const prNumber = context.payload.pull_request.number;
const repoName = context.repo.repo;
const repoOwner = context.repo.owner;
const releaseNotesRegex = /release notes/i;
const releaseNotesRegex = /release notes?:?/i;
const comments = await github.rest.issues.listComments({
owner: repoOwner,
Expand Down
24 changes: 20 additions & 4 deletions .github/workflows/test_filenames_check.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
#
# Copyright 2021 ABSA Group Limited
#
# 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
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name: Test Filenames Check

on:
Expand All @@ -17,8 +33,8 @@ jobs:
id: scan-test-files
uses: AbsaOSS/filename-inspector@master
with:
name_patterns: '*UnitTest.*,*IntegrationTest.*'
name-patterns: '*UnitTest.*,*IntegrationTest.*'
paths: '**/src/test/scala/**'
report_format: 'console'
verbose_logging: 'false'
fail_on_violation: 'true'
report-format: 'console'
verbose-logging: 'false'
fail-on-violation: 'true'

0 comments on commit 157deaa

Please sign in to comment.