Skip to content

Commit

Permalink
do not process simple-cms-bot request
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Feb 11, 2025
1 parent cb52e00 commit bc01efe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions process-pull-request.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@

if not getattr(repo_config, "RUN_DEFAULT_CMS_BOT", True):
sys.exit(0)
if getattr(repo_config, "REQUEST_PROCESSOR", "cms-bot") != "cms-bot":
sys.exit(0)
gh = Github(login_or_token=get_gh_token(opts.repository), per_page=100)
api_rate_limits(gh)
repo = gh.get_repo(opts.repository)
Expand Down

0 comments on commit bc01efe

Please sign in to comment.