Skip to content

Commit

Permalink
issue #160: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCardin committed Nov 13, 2024
1 parent 6dcd0b5 commit aff661f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/workflow-issue-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
if [ "${{ github.event_name }}" == "issues" ] && [ "${{ github.event.action }}" == "opened" ]; then
ISSUE_NUMBER="${{ github.event.issue.number }}"
elif [ "${{ github.event_name }}" == "pull_request" ]; then
ISSUE_NUMBER=$(echo "$BRANCH_NAME" | grep -oE '^[0-9]+')
ISSUE_NUMBER=$(echo "${{ github.event.pull_request.head.ref }}" | grep -oE '^[0-9]+')
fi
if [ -n "$ISSUE_NUMBER" ]; then
Expand Down

0 comments on commit aff661f

Please sign in to comment.