forked from Mirrors/elk
ci: check semantic pull request PR title (#157)
This commit is contained in:
parent
3e26326a31
commit
6c795d52ad
1 changed files with 24 additions and 0 deletions
24
.github/workflows/semantic-pull-request.yml
vendored
Normal file
24
.github/workflows/semantic-pull-request.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
name: Semantic Pull Request
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- synchronize
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
main:
|
||||||
|
permissions:
|
||||||
|
pull-requests: read # to analyze PRs (amannn/action-semantic-pull-request)
|
||||||
|
statuses: write # to mark status of analyzed PR (amannn/action-semantic-pull-request)
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Semantic Pull Request
|
||||||
|
steps:
|
||||||
|
- name: Validate PR title
|
||||||
|
uses: amannn/action-semantic-pull-request@v5.0.2
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue