generated from finos/standards-project-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): Add pr-title workflow (#619)
- Loading branch information
1 parent
8d7482a
commit b8e3c0a
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Reference: https://github.com/amannn/action-semantic-pull-request | ||
--- | ||
name: "Lint PR Title" | ||
on: | ||
# pull_request_target event is required for autolabeler to support all PRs including forks | ||
pull_request_target: | ||
types: [opened, reopened, edited, synchronize] | ||
jobs: | ||
lint_pr_title: | ||
permissions: | ||
contents: read | ||
pull-requests: read | ||
statuses: write | ||
uses: jmeridth/reusable-workflows/.github/workflows/pr-title.yaml@d788c4f6994c7b37134a9f592fe5db42fd7a0957 | ||
with: | ||
types: | | ||
ci | ||
docs | ||
feat | ||
fix | ||
scopes: | | ||
add | ||
category | ||
change | ||
controls | ||
family | ||
remove | ||
threats | ||
requireScope: true | ||
secrets: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |