Skip to content

Commit

Permalink
Update migrate_issues.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarx authored Jul 25, 2023
1 parent f913453 commit 99af0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/migrate_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def convert_issue_to_note(issue: Issue, g: Github, repo_name: str):
])

# create (and commit) a new note
repo.create_file(issue.title.replace(" ", "_") + ".md", f"Create note from issue #{issue_number}", file_content)
repo.create_file(issue.title.replace(" ", "_") + ".md", f"Create note from issue #{issue.number}", file_content)

# add a comment with a link to the new note
issue.create_comment(f"Issue migrated to note: {issue.title.replace(' ', '_')}.md")
Expand Down

0 comments on commit 99af0b5

Please sign in to comment.