Skip to content

Commit

Permalink
add semantic pull request job
Browse files Browse the repository at this point in the history
  • Loading branch information
cieslarmichal authored Jun 23, 2024
1 parent 9450c93 commit 3d74f17
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/semantic-pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Semantic Pull Request

on:
pull_request_target:
types:
- opened
- edited
- synchronize

permissions: {}

jobs:
main:
permissions:
pull-requests: read
statuses: write

runs-on: ubuntu-latest
timeout-minutes: 10
name: Semantic Pull Request
steps:
- name: Validate PR title
uses: amannn/action-semantic-pull-request@cfb60706e18bc85e8aec535e3c577abe8f70378e # v5.5.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
chore
refactor
docs
test
ci
build
infra
revert

0 comments on commit 3d74f17

Please sign in to comment.