Skip to content

Commit

Permalink
chore(IDX): small updates (#87)
Browse files Browse the repository at this point in the history
* chore(IDX): small updates

* update test
  • Loading branch information
cgundy authored Dec 10, 2024
1 parent 3c7cfee commit 9db3e73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/repo_policies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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__":
Expand Down
2 changes: 1 addition & 1 deletion reusable_workflows/tests/test_repo_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 9db3e73

Please sign in to comment.