Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #52 from espressif/fix/jira-sync-pr
Browse files Browse the repository at this point in the history
fix(sync-jira-pr): Remove condition "Sync only PRs without comments"
  • Loading branch information
tomassebestik authored Aug 30, 2023
2 parents 3cbd258 + fb403d6 commit 80447c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync_issues_to_jira/sync_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def sync_remain_prs(jira):
repo = github.get_repo(os.environ['GITHUB_REPOSITORY'])
prs = repo.get_pulls(state="open", sort="created", direction="desc")
for pr in prs:
if not repo.has_in_collaborators(pr.user.login) and not pr.comments:
if not repo.has_in_collaborators(pr.user.login):
# mock a github issue using current PR
gh_issue = {"pull_request": True,
"labels": [{"name": l.name} for l in pr.labels],
Expand Down

0 comments on commit 80447c4

Please sign in to comment.