Skip to content

Commit

Permalink
Create pr-title.yaml
Browse files Browse the repository at this point in the history
Added the main action yaml

Signed-off-by: Sanmarg Sandeep Paranjpe <[email protected]>
  • Loading branch information
sanmarg authored May 29, 2024
1 parent 4097fec commit 06897c7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pr-title.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "PR"

on:
pull_request_target:
types: [opened, edited, reopened, synchronize]

permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}


jobs:
validate:
permissions:
contents: read
pull-requests: read
name: Validate PR Title
runs-on: ubuntu-latest
steps:
- uses: thehanimo/pr-title-checker@1d8cd483a2b73118406a187f54dca8a9415f1375 # v1.4.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
configuration_path: ".github/pr-title-checker-config.json"

0 comments on commit 06897c7

Please sign in to comment.