Bump hashicorp/setup-terraform from 2 to 3 #6
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: 'Validate PR' | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
pr-title: | |
name: 'Title' | |
runs-on: ubuntu-20.04 | |
permissions: write-all | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
steps: | |
- uses: amannn/action-semantic-pull-request@v5 | |
with: | |
types: | | |
fix | |
feat | |
docs | |
ci | |
chore | |
refactor | |
revert | |
requireScope: false | |
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 | |
starts with an uppercase character. | |
wip: true | |
validateSingleCommit: false |