Skip to content

Commit d5fa1f1

Browse files
authored
chore: update pattern (#4)
Updated pattern for better searching for linked issues. Fixes #3
1 parent 1b3d410 commit d5fa1f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def main():
99
Function to validate the Issue present over the Pull Request body.
1010
"""
1111

12-
pattern = "#\d+"
12+
pattern = "((?:Fixes|Resolves) #\d+)"
1313

1414
# Get the PR body and the PR URL
1515
body = os.getenv("INPUT_PRBODY")

0 commit comments

Comments
 (0)