rust-lang / triagebot

Automation/tooling for Rust spaces
https://triage.rust-lang.org
Apache License 2.0
170 stars 75 forks source link

Add a mechanism to disable all jobs. #1696

Closed ehuss closed 1 year ago

ehuss commented 1 year ago

This adds the TRIAGEBOT_TEST_DISABLE_JOBS environment variable which can be used to disable jobs from running. This can help with local testing.

This also rearranges the code to separate functions to make it a little cleaner.