Skip to content

Commit

Permalink
Update poll_quick_ci.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kliao-csa committed Jun 7, 2024
1 parent 30362b0 commit 5617400
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/helpers/poll_quick_ci.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import argparse
import logging
import subprocess

def main():
parser = argparse.ArgumentParser()
parser.add_argument("pr", help="Pull request number")
args = parser.parse_args()
logging.info("Gathering info on checks being run for the current pull request.")
subprocess.run("gh pr checks -R project-chip/connectedhomeip ${{ github.event.number }} -L 500", shell=True)
subprocess.run(f"gh pr checks -R project-chip/connectedhomeip {args.pr} -L 500", shell=True)

if __name__ == "__main__":
main()

0 comments on commit 5617400

Please sign in to comment.