Skip to content

Commit

Permalink
feat: add pr-title workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-klimko committed Mar 13, 2024
1 parent f52d579 commit 478b914
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,16 @@
## Why

## Notes
<!-- Add any notes here -->
<!-- Add any notes here -->

## Labels

Assign the following labels to the PR:

`security` - to trigger image scanning in CI build

## PR Comments

Add the following comments to the PR:

`/e2e` - to trigger E2E build
21 changes: 21 additions & 0 deletions .github/workflows/validate-pr-title.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Reference: https://github.com/amannn/action-semantic-pull-request
name: PR title

on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize

jobs:
validate-pr-title:
runs-on: ubuntu-latest
steps:

- uses: amannn/action-semantic-pull-request@v5.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
requireScope: false

0 comments on commit 478b914

Please sign in to comment.