Skip to content

Commit

Permalink
refactor(ci): Add PR title validation (AztecProtocol/barretenberg#521)
Browse files Browse the repository at this point in the history
Enforcing release-please PR naming scheme
  • Loading branch information
kevaundray authored Jun 12, 2023
1 parent 4e844d4 commit f24d805
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions barretenberg/.github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Pull Request

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

permissions:
pull-requests: read

jobs:
conventional-title:
name: Validate PR title is Conventional Commit
runs-on: ubuntu-latest
steps:
- name: Check title
if: github.event_name == 'pull_request'
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
fix
feat
chore
refactor

0 comments on commit f24d805

Please sign in to comment.