diff --git a/.github/workflows/repo_policies.yml b/.github/workflows/repo_policies.yml index 03eef62..f8275b4 100644 --- a/.github/workflows/repo_policies.yml +++ b/.github/workflows/repo_policies.yml @@ -23,7 +23,7 @@ jobs: with: path: current-repo # need to specify another path to avoid overwriting the first checkout ref: ${{ github.head_ref }} - fetch-depth: 256 + fetch-depth: 50 - name: Python Setup uses: ./public-workflows/.github/workflows/python-setup diff --git a/reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py b/reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py index 4888cc1..b1dd7f4 100644 --- a/reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py +++ b/reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py @@ -96,7 +96,7 @@ def main() -> None: check_if_pr_is_blocked(env_vars) else: - print(f"{user} is not a bot. Letting CLA check handle contribution decision.") + print(f"{user} is not a bot. Skipping bot checks.") if __name__ == "__main__": diff --git a/reusable_workflows/tests/test_repo_policies.py b/reusable_workflows/tests/test_repo_policies.py index 3b607be..1ade7a8 100644 --- a/reusable_workflows/tests/test_repo_policies.py +++ b/reusable_workflows/tests/test_repo_policies.py @@ -153,7 +153,7 @@ def test_main_not_a_bot(check_if_pr_is_blocked, is_approved_bot, load_env_vars, captured = capfd.readouterr() assert ( - "user is not a bot. Letting CLA check handle contribution decision." + "user is not a bot. Skipping bot checks." in captured.out ) check_if_pr_is_blocked.assert_not_called()