From 30d21aed214a77887fd4a6f7a6edc67d1ce2539e Mon Sep 17 00:00:00 2001 From: Salah Alkhwlani Date: Fri, 19 Jul 2024 11:40:03 +0300 Subject: [PATCH] Delete .github/workflows/lint-pr.yaml --- .github/workflows/lint-pr.yaml | 65 ---------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 .github/workflows/lint-pr.yaml diff --git a/.github/workflows/lint-pr.yaml b/.github/workflows/lint-pr.yaml deleted file mode 100644 index 4cae9cf..0000000 --- a/.github/workflows/lint-pr.yaml +++ /dev/null @@ -1,65 +0,0 @@ -name: "Lint PR" - -on: - pull_request_target: - types: - - opened - - edited - - synchronize - - labeled - - unlabeled -jobs: - main: - name: Validate PR title - runs-on: ubuntu-latest - steps: - - uses: amannn/action-semantic-pull-request@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - # Configure which types are allowed (newline-delimited). - # Default: https://github.com/commitizen/conventional-commit-types - types: | - fix - feat - BREAKING CHANGE - refactor - test - perf - build - ci - revert - # Configure which scopes are allowed (newline-delimited). - # These are regex patterns auto-wrapped in `^ $`. - scopes: | - JIRA-\d+ - [A-Z]+-\d+ - catalog - orders - payments - checkout - journey - partners - platform - themes - auth - marketing - devops - # Configure that a scope must always be provided. - requireScope: true - # If the PR contains one of these newline-delimited labels, the - # validation is skipped. If you want to rerun the validation when - # labels change, you might want to use the `labeled` and `unlabeled` - # event triggers in your workflow. - ignoreLabels: | - bot - ignore-semantic-pull-request - # If you're using a format for the PR title that differs from the traditional Conventional - # Commits spec, you can use these options to customize the parsing of the type, scope and - # subject. The `headerPattern` should contain a regex where the capturing groups in parentheses - # correspond to the parts listed in `headerPatternCorrespondence`. - # See: https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-commits-parser#headerpattern - headerPattern: '^(\w*)(?:\(([\w$.\-*/ ]*)\))?: (.*)$' - headerPatternCorrespondence: type, scope, subject - wip: true - # upperCase: true