Last active
November 26, 2023 18:15
-
-
Save surendra-wal/e107cc3d93305e8954e937270c12663d to your computer and use it in GitHub Desktop.
pr_title_validation.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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