Skip to content

Commit

Permalink
use python if avaiable
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed May 13, 2024
1 parent 4931296 commit a6586d9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion comment-gh-pr.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/usr/bin/env python
#!/bin/bash

""":"
python_cmd="python3"
python -V >/dev/null 2>&1 && python_cmd="python"
exec ${python_cmd} $0 ${1+"$@"}
"""
"""
Makes a comment on Pull request on Github
"""
Expand Down

0 comments on commit a6586d9

Please sign in to comment.