Skip to content

Commit

Permalink
fix: pr number check and tags in main merge (#1668)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Dec 1, 2023
1 parent af8c88a commit 4d2684d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
# Create and push semver tag
- name: Create Tags
run: |
echo git tag ${{ steps.changelog.outputs.tag }}
echo git push origin --tag
git tag ${{ steps.changelog.outputs.tag }}
git push origin --tag
# Get last merged (or current) PR number
- name: Get PR Number
Expand All @@ -61,7 +61,7 @@ jobs:
echo -e "Last merged PR: ${PR_NO}"
# Validate PR number and send to GitHub Output
if [ "${PR_NO}" =~ ^[0-9]+$ ]; then
if [[ "${PR_NO}" =~ ^[0-9]+$ ]]; then
echo "No PR number not found"
exit 1
fi
Expand Down

0 comments on commit 4d2684d

Please sign in to comment.