From 4ed58e98db3507ec026d9ed167705ca298f78a50 Mon Sep 17 00:00:00 2001 From: anmolnagpal Date: Thu, 12 Feb 2026 09:05:16 +0000 Subject: [PATCH] fix(ci): repair PR validation workflow compatibility --- .github/workflows/pr-checks.yml | 5 +---- .github/workflows/pr_checks.yml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/pr_checks.yml diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 5de8e2f3..8df82e5e 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -53,8 +53,6 @@ jobs: starts with an uppercase character. wip: true validateSingleCommit: ${{ inputs.validateSingleCommit }} - scopes: | - * - name: ๐Ÿท๏ธ Check PR labels if: ${{ inputs.checkLabels }} @@ -79,6 +77,5 @@ jobs: - name: ๐Ÿงพ Validate Commit Messages uses: webiny/action-conventional-commits@v1.3.1 with: - subject_case: false - types: ${{ inputs.types }} + allowed-commit-types: ${{ inputs.types }} ... diff --git a/.github/workflows/pr_checks.yml b/.github/workflows/pr_checks.yml new file mode 100644 index 00000000..91e1435e --- /dev/null +++ b/.github/workflows/pr_checks.yml @@ -0,0 +1,31 @@ +--- +name: '๐Ÿ” PR Validation (compat alias)' +on: + workflow_call: + inputs: + types: + required: false + type: string + requireScope: + required: false + type: boolean + subjectPattern: + required: false + type: string + validateSingleCommit: + required: false + type: boolean + checkLabels: + required: false + type: boolean + +jobs: + delegate: + uses: ./.github/workflows/pr-checks.yml + with: + types: ${{ inputs.types }} + requireScope: ${{ inputs.requireScope }} + subjectPattern: ${{ inputs.subjectPattern }} + validateSingleCommit: ${{ inputs.validateSingleCommit }} + checkLabels: ${{ inputs.checkLabels }} + secrets: inherit