Skip to content

Commit

Permalink
More tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlk committed Apr 15, 2024
1 parent 192bce7 commit 07fc5b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
m_max_size: '200'
l_max_size: '450'
fail_if_xl: 'true'
files_to_ignore: |
"README.md"
files_to_ignore: "README.md"
message_if_xl: >
This PR exceeds the recommended size of 1000 lines.
Please make sure you are NOT addressing multiple issues with one PR.
Expand Down
4 changes: 4 additions & 0 deletions src/labeler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ labeler::label() {
local -r files_to_ignore="${12}"
local -r ignore_file_deletions="${13}"

log::message "files_to_ignore: $files_to_ignore"
log::message "files_to_ignore[*]: ${files_to_ignore[*]}"
log::message "ignore_file_deletions: $ignore_file_deletions"

local -r pr_number=$(github_actions::get_pr_number)
local -r total_modifications=$(github::calculate_total_modifications "$pr_number" "${files_to_ignore[*]}" "$ignore_file_deletions")

Expand Down

0 comments on commit 07fc5b5

Please sign in to comment.