Skip to content

Commit

Permalink
Update code freeze bot to check target PR branch correctly for issue_…
Browse files Browse the repository at this point in the history
…comment

Signed-off-by: Andrew Leonard <[email protected]>
  • Loading branch information
andrew-m-leonard committed Apr 26, 2024
1 parent 20bb569 commit 5bc6e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/code-freeze-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
id: check-freeze-branch
# Following grep "regex" needs to exactly match the required target branches to "freeze"
run: |
if echo "$PR_TARGET_BRANCH" | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$'; then
if echo "v2024.04.01" | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$'; then
FREEZE_BRANCH='true'
else
FREEZE_BRANCH='false'
Expand Down

0 comments on commit 5bc6e99

Please sign in to comment.