Skip to content

Commit 9db3e73

Browse files
authored
chore(IDX): small updates (#87)
* chore(IDX): small updates * update test
1 parent 3c7cfee commit 9db3e73

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/repo_policies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
path: current-repo # need to specify another path to avoid overwriting the first checkout
2525
ref: ${{ github.head_ref }}
26-
fetch-depth: 256
26+
fetch-depth: 50
2727

2828
- name: Python Setup
2929
uses: ./public-workflows/.github/workflows/python-setup

reusable_workflows/repo_policies/bot_checks/check_bot_approved_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def main() -> None:
9696
check_if_pr_is_blocked(env_vars)
9797

9898
else:
99-
print(f"{user} is not a bot. Letting CLA check handle contribution decision.")
99+
print(f"{user} is not a bot. Skipping bot checks.")
100100

101101

102102
if __name__ == "__main__":

reusable_workflows/tests/test_repo_policies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def test_main_not_a_bot(check_if_pr_is_blocked, is_approved_bot, load_env_vars,
153153

154154
captured = capfd.readouterr()
155155
assert (
156-
"user is not a bot. Letting CLA check handle contribution decision."
156+
"user is not a bot. Skipping bot checks."
157157
in captured.out
158158
)
159159
check_if_pr_is_blocked.assert_not_called()

0 commit comments

Comments
 (0)