diff --git a/.github/workflows/add-header.yml b/.github/workflows/add-header.yml index acbd276..24067f7 100644 --- a/.github/workflows/add-header.yml +++ b/.github/workflows/add-header.yml @@ -25,5 +25,7 @@ jobs: - name: Commit changes back to repo uses: stefanzweifel/git-auto-commit-action@v5 - # Token comes from actions/checkout + with: # Token comes from actions/checkout + commit_message: Add Header + diff --git a/app/main.py b/app/main.py index 051ea20..e1a91fd 100644 --- a/app/main.py +++ b/app/main.py @@ -108,7 +108,6 @@ def _loop_through_files_opt_in(self, re_accept_patterns: List[Pattern]) -> None: self._add_header_to_file(full_file_path, rel_file_path, header, skip_prefixes, (prefix, suffix)) def _loop_through_files_opt_out(self, re_ignore_patterns: List[Pattern]) -> None: - print("_loop_through_files_opt_out") base_dir = self.header_rc.work_path for root, _, files in os.walk(base_dir, topdown=True):