feat: add generator code #602
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: "Conventional PR and Commit Messages" | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize, edited] | |
jobs: | |
semantic: | |
uses: influxdata/validate-semantic-github-messages/.github/workflows/semantic.yml@main | |
with: | |
# When true: | |
# If there is one commit, only validate its commit message (and not the PR title). | |
# Else validate PR title only (and skip commit messages). | |
CHECK_PR_TITLE_OR_ONE_COMMIT: true |