Skip to content

Commit

Permalink
Fix commit bug of create.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Dec 12, 2022
1 parent 18e8f6a commit ff69af1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/create-pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
branch_name = str(hash(datetime.now().timestamp()))
os.system(f'git checkout -b {branch_name}')
os.system(f'git add ./default-policies/*')
os.system(f'GIT_COMMITTER_NAME="PROFILE_UPDATE_BOT" git commit --author={GITHUB_BOT_EMAIL}')
os.system(f'GIT_COMMITTER_NAME="PROFILE_UPDATE_BOT" git commit --author="{GITHUB_BOT_EMAIL}" -m "Update Seccomp Default Profiles"')
os.system(f'git push origin {branch_name}')

PR_TITLE = "chore: bump default policy update"
Expand All @@ -17,8 +17,8 @@
f'--title "{PR_TITLE}"',
f'--body "{PR_BODY}"',
f'--repo "lablup/backend.ai-jail"',
f'--base "{branch_name}"',
f'--base "main"',
f'--label "infrastructure"',
# TODO: Remove below flag.
f'--draft'
]))
]))

0 comments on commit ff69af1

Please sign in to comment.