Skip to content

Commit

Permalink
- Changes from CI testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer committed Jun 14, 2024
1 parent bfed84f commit aa94fb5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions src/github_integration/gh_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@


def get_input(name: str) -> str:
# print all environment variables - keys only
print(os.environ.keys())
return os.getenv(f'{name.replace("-", "_").upper()}', '')


Expand Down
16 changes: 8 additions & 8 deletions src/release_notes_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ def validate_inputs(owner: str, repo_name: str, tag_name: str, chapters_json: st
if not isinstance(chapters_to_pr_without_issue, bool):
raise ValueError("Chapters to PR without issue must be a boolean.")

logging.debug(f'Repository: {owner}/{repo_name}')
logging.debug(f'Tag name: {tag_name}')
logging.debug(f'Chapters JSON: {chapters_json}')
logging.debug(f'Warnings: {warnings}')
logging.debug(f'Published at: {published_at}')
logging.debug(f'Skip release notes label: {skip_release_notes_label}')
logging.debug(f'Print empty chapters: {print_empty_chapters}')
logging.debug(f'Chapters to PR without issue: {chapters_to_pr_without_issue}')
logging.info(f'Repository: {owner}/{repo_name}')
logging.info(f'Tag name: {tag_name}')
logging.info(f'Chapters JSON: {chapters_json}')
logging.info(f'Warnings: {warnings}')
logging.info(f'Published at: {published_at}')
logging.info(f'Skip release notes label: {skip_release_notes_label}')
logging.info(f'Print empty chapters: {print_empty_chapters}')
logging.info(f'Chapters to PR without issue: {chapters_to_pr_without_issue}')
logging.info(f'Verbosing logging: {verbose}')


Expand Down

0 comments on commit aa94fb5

Please sign in to comment.