Skip to content

Commit

Permalink
only run on main branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfiex committed Feb 29, 2024
1 parent 7dca42f commit 8df05bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/libs/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,5 +200,5 @@ def process_files(files,token = None, branch=None,force=False):
parser.add_argument("-b","--branch" ,help="branch name")

args = parser.parse_args()

process_files(files, token=args.token, branch = args.branch)
if args.branch == 'main':
process_files(files, token=args.token, branch = args.branch)

0 comments on commit 8df05bb

Please sign in to comment.