Skip to content

Commit

Permalink
Merge pull request #10 from Prasanjeet-Microsoft/Add_pr-title-checker
Browse files Browse the repository at this point in the history
feat: Added PR title checker GitHub Actions workflow
  • Loading branch information
Roopan-Microsoft authored Dec 20, 2024
2 parents 01f5396 + 3ea7525 commit 1df6efb
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pr-title-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "pr-title-checker"

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

permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
if: ${{ github.event_name != 'merge_group' }}
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1df6efb

Please sign in to comment.