diff --git a/.github/workflows/pr-triage.yml b/.github/workflows/pr-triage.yml index 32289d751..8725ef73d 100644 --- a/.github/workflows/pr-triage.yml +++ b/.github/workflows/pr-triage.yml @@ -23,8 +23,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Validate pull request title + env: + TITLE: ${{ github.event.pull_request.title }} run: | - TITLE="${{ github.event.pull_request.title }}" REGEX="^(revert: )?(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\\(.+\\))?: .{1,72}$" echo "Title: \"$TITLE\""