ci: release from the release-candidate branch #5173
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Repo - Pull Request Conventions | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, reopened] | |
jobs: | |
lint-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
types: | | |
feat | |
fix | |
refactor | |
test | |
docs | |
style | |
build | |
ci | |
chore | |
chore(deps) | |
chore(release) | |
# Configure additional validation for the subject based on a regex. | |
# Ensures the subject doesn't start with an uppercase character. | |
subjectPattern: ^(?![A-Z]).+$ | |
# Ignore release PR since it's different and already automated. | |
ignoreLabels: | | |
release/pr | |
# When using "Squash and merge" on a PR with only one commit, GitHub | |
# will suggest using that commit message instead of the PR title for the | |
# merge commit, and it's easy to commit this by mistake. Enable this option | |
# to also validate the commit message for one commit PRs. | |
validateSingleCommit: true |