Fix bad field reference in milestone check

This commit is contained in:
Jordan Dominion
2023-08-18 12:29:55 -04:00
parent 0bb479f100
commit 3d6065f4c4
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
- name: Fail if Invalid Milestone Set
run: |
if [[ ${{ github.event.pull_request.milestone }} =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
if [[ ${{ github.event.pull_request.milestone.title }} =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
exit 0
fi
echo "::error::Pull request has non-standard milestone!"