diff --git a/actions/find_unreleased_changelog_items/main.py b/actions/find_unreleased_changelog_items/main.py index 12bfb5b4..c6979cab 100644 --- a/actions/find_unreleased_changelog_items/main.py +++ b/actions/find_unreleased_changelog_items/main.py @@ -105,6 +105,7 @@ def main() -> None: # If running in GitHub Actions, and the release_level is set, send the release level and # incoming changes to the GitHub Summary if release_level: + subprocess.check_call(["git", "config", "--global", "--add", "safe.directory", "."]) # noqa: S603,S607 commit_messages = get_commit_messages(since_tag=get_latest_tag()) pr_regex = re.compile(r"\(#\d+\)$")