Skip to content

Instantly share code, notes, and snippets.

@surendra-wal
Last active November 26, 2023 18:15
Show Gist options
  • Save surendra-wal/e107cc3d93305e8954e937270c12663d to your computer and use it in GitHub Desktop.
Save surendra-wal/e107cc3d93305e8954e937270c12663d to your computer and use it in GitHub Desktop.
pr_title_validation.yml
name: Check PR title
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
lint:
if: ${{github.event.pull_request.title != 'Release' }}
runs-on: ubuntu-latest
permissions:
statuses: write
steps:
- name: PR title validation
uses: aslafy-z/conventional-pr-title-action@v3
env:
GITHUB_TOKEN: ${{ secrets.TODO_GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment