Skip to content

chore(main): release 6.6.3 #3026

chore(main): release 6.6.3

chore(main): release 6.6.3 #3026

---
name: Pull Request Conventional Title
on:
pull_request:
types:
- opened
- edited
- synchronize
permissions: {}
jobs:
validate-pr-title:
name: ✅ Validate PR Title
runs-on: ubuntu-latest
permissions:
pull-requests: write # is needed by marocchino/sticky-pull-request-comment to post comments on PRs
steps:
- uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
disable-sudo-and-containers: true
allowed-endpoints: >
api.github.com:443
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
id: pr-title
with:
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
didn't match the configured pattern. Please ensure that the subject
doesn't start with an uppercase character.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4
if: ${{ !cancelled() && steps.pr-title.outputs.error_message != null }}
with:
header: pr-title-lint-error
message: |
Hey there and thank you for opening this pull request! 👋🏼
We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) and it looks like your proposed title needs to be adjusted.
:warning: Details
${{ steps.pr-title.outputs.error_message }}
- uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4
if: steps.pr-title.outputs.error_message == null
with:
header: pr-title-lint-error
delete: true