Skip to content

Commit

Permalink
Remove $.
Browse files Browse the repository at this point in the history
  • Loading branch information
MSchnei committed Apr 25, 2024
1 parent ee8765b commit da678b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PR_TITLE="${{ github.event.pull_request }}"
PR_TITLE="${{ github.event.pull_request.title }}"
VERSION_PATTERN="^Bump version: [0-9]+\.[0-9]+\.[0-9]+ → [0-9]+\.[0-9]+\.[0-9]+$"
echo "PR_TITLE: $$PR_TITLE"
echo "PR_TITLE: $PR_TITLE"
echo "GITHUB_EVENT_PATH: $GITHUB_EVENT_PATH"
if [[ "$PR_TITLE" =~ $VERSION_PATTERN ]]; then
echo "Valid PR title for publishing."
Expand Down

0 comments on commit da678b9

Please sign in to comment.