mirror of https://github.com/elk-zone/elk.git
25 lines
564 B
YAML
25 lines
564 B
YAML
|
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 }}
|