Skip to content

Commit

Permalink
test 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ywkim312 committed Dec 19, 2023
1 parent fcb72ac commit 9b58806
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ jobs:
elif [[ "${{github.event_name}}" == "pull_request" ]]; then
BRANCH="PR-${{github.event.pull_request.number}}"
else
BRANCH="PR-${{github.event.pull_request.number}}"
BRANCH=${GITHUB_REF##*/}
if [[ $BRANCH =~ [0-9]+ ]]; then
BRANCH="PR-${BASH_REMATCH[0]}"
fi
fi
echo "GITHUB_BRANCH=${BRANCH}" >> $GITHUB_ENV
Expand Down

0 comments on commit 9b58806

Please sign in to comment.