Skip to content

Commit

Permalink
Merge pull request #126 from Prasanjeet-Microsoft/Adding_pr-title-che…
Browse files Browse the repository at this point in the history
…cker

feat: Added PR title checker GitHub Actions workflow
  • Loading branch information
Avijit-Microsoft authored Dec 19, 2024
2 parents fe5d3ec + a444887 commit 62817dc
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 62817dc

Please sign in to comment.