Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
yceballost committed Oct 16, 2024
1 parent 564b0f3 commit 50060ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/branch-table/branch-table.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def analyze_files(file_keys, figma_token):
branch_link = f"[{branch_name}](https://www.figma.com/file/{file_key}/branch/{branch['key']})"

# Extract the issue number using regex
issue_match = re.match(r"#(\d{4}).*", branch_name)
issue_match = re.match(r"#(\d+)", branch_name)
issue_number = "#" + issue_match.group(1) if issue_match else ""

table_data.append({
Expand Down Expand Up @@ -104,7 +104,7 @@ def update_github_issue(issue_number, repo_owner, repo_name, markdown_content, g
"266390224", # Mística Skins Libraries
"27955986", # Specs
"170790970", # Community Specs
"30110755", # Materials
"30110755" # Materials
# Add more project id here
]

Expand Down

0 comments on commit 50060ae

Please sign in to comment.