You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- PR titles are verified against the conventional commit standard (angular) types (fix, feat, chore, etc.)
- Single-commit PRs have their commit title checked against the standard types, as github uses this commit title instead of PR title by default
- Github Action trigger is configured for pull requests targeting master and develop branches, but master won't take effect until this change is merged to that branch
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
11
+
jobs:
12
+
# This workflow contains a single job called "build"
13
+
build:
14
+
# The type of runner that the job will run on
15
+
runs-on: ubuntu-latest
16
+
17
+
# Steps represent a sequence of tasks that will be executed as part of the job
18
+
steps:
19
+
- name: semantic-pull-request
20
+
# Internal Unity mirror available at jesseo/action-semantic-pull-request, but actions from private repos aren't supported, so continue to use the public one below
# Provide custom types if you don't want the default ones from https://www.conventionalcommits.org
26
+
types: # optional
27
+
# Configure which scopes are allowed.
28
+
#scopes: # optional
29
+
# Configure that a scope must always be provided.
30
+
#requireScope: # optional
31
+
# Configure additional validation for the subject based on a regex. E.g. '^(?![A-Z]).+$' ensures the subject doesn't start with an uppercase character.
32
+
#subjectPattern: # optional
33
+
# If `subjectPattern` is configured, you can use this property to override the default error message that is shown when the pattern doesn't match. The variables `subject` and `title` can be used within the message.
34
+
#subjectPatternError: # optional
35
+
# For work-in-progress PRs you can typically use draft pull requests from Github. However, private repositories on the free plan don't have this option and therefore this action allows you to opt-in to using the special '[WIP]' prefix to indicate this state. This will avoid the validation of the PR title and the pull request checks remain pending. Note that a second check will be reported if this is enabled.
36
+
#wip: # optional
37
+
# 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.
0 commit comments