Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch committed Nov 10, 2024
1 parent b56e24d commit b4db2a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/verify-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
if [[ ! "$PR_TITLE" =~ ^\[(Integration|Core|Docs)\](\[(ADO|Logging|AWS|.+?)\])?\ [A-Za-z]+.* ]]; then
if [[ ! "$PR_TITLE" =~ ^\[(Integration|Core|Docs)\]\ .+ ]]; then
echo "PR title does not match the required convention."
echo "Examples of acceptable titles:"
echo "[Integration][ADO] Resolve missing team context in board ingestion for non-default teams"
echo "[Core][Logging] Ensure ingestion of integration logs"
echo "[Integration] Resolve missing team context in board ingestion for non-default teams"
echo "[Core] Ensure ingestion of integration logs"
echo "[Core] Upgrade FastAPI version to improve performance and compatibility"
echo "[Docs] Correct documentation on Ocean's denial-of-service vulnerability in http-proxy-middleware"
echo "[Integration][AWS] Enable region-specific resource querying support"
echo "[Integration] Enable region-specific resource querying support"
exit 1
else
echo "PR title matches the required convention."
Expand Down

0 comments on commit b4db2a6

Please sign in to comment.