From b5a39526d159758dab6e2d66cfa9d1dfbcd8d83c Mon Sep 17 00:00:00 2001 From: Sarbagya Dhaubanjar Date: Fri, 2 May 2025 18:41:20 +0545 Subject: [PATCH 1/2] Fix formatting in README.md testing section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 696970f..140ac55 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Version Playground -Testing....... \ No newline at end of file +Testing......... \ No newline at end of file From 7672095a65df8d74a4e901cf6699be98a28b0cf7 Mon Sep 17 00:00:00 2001 From: Sarbagya Dhaubanjar Date: Fri, 2 May 2025 18:47:42 +0545 Subject: [PATCH 2/2] Add label checking step to PR validation workflow --- .github/workflows/pr.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 05c9314..55aed68 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -46,10 +46,24 @@ jobs: The title of this PR has been updated to match the correct format. Thank you! - name: Check Labels + id: check-labels uses: docker://agilepathway/pull-request-label-checker:latest with: one_of: fix,feature,meta repo_token: ${{ secrets.GITHUB_TOKEN }} + allow_failure: true + + - name: Add comment that labels are missing + if: ${{ steps.check-labels.outputs.label_check == 'failure' }} + uses: marocchino/sticky-pull-request-comment@v2 + with: + header: "PR Label Check" + recreate: true + message: | + ### 🚨 Labels are missing + The PR is missing the required labels. Please add at least one of the following labels: + * `fix` + * `feature` - name: Validate PR title format run: |