From 517ef0b53e07049816ad241ecf3d9f62723ea74a Mon Sep 17 00:00:00 2001 From: tankilevitch Date: Sun, 10 Nov 2024 15:42:44 +0200 Subject: [PATCH] fix --- .github/workflows/verify-pr-title.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/verify-pr-title.yml b/.github/workflows/verify-pr-title.yml index 66a3e9c365..f9c0192c71 100644 --- a/.github/workflows/verify-pr-title.yml +++ b/.github/workflows/verify-pr-title.yml @@ -13,14 +13,14 @@ jobs: env: PR_TITLE: ${{ github.event.pull_request.title }} run: | - if [[ ! "$PR_TITLE" =~ ^\[(Integration|Core|Docs)(\]\[.*?\])?\]\ .+ ]]; then + if [[ ! "$PR_TITLE" =~ ^\[(Integration|Core|Docs)\](\[(ADO|Logging|AWS|.+?)\])?\ [A-Za-z]+.* ]]; then echo "PR title does not match the required convention." echo "Examples of acceptable titles:" - echo "[Integration][ADO] Fix missing team context for non default teams while ingesting boards" - echo "[Core][Logging] Fix Integration logs not being ingested" - echo "[Core] bump fastapi version" - echo "[Docs] Fix Ocean Denial of service in http-proxy-middleware in docs" - echo "[Integration][AWS] Added support to choose specific regions to query resources from" + echo "[Integration][ADO] Resolve missing team context in board ingestion for non-default teams" + echo "[Core][Logging] 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" exit 1 else echo "PR title matches the required convention."