Skip to content

Instantly share code, notes, and snippets.

@jonathas
Created January 15, 2023 22:04
Show Gist options
  • Save jonathas/0fa8c8063d8b9317a9b6e53cb7ec6450 to your computer and use it in GitHub Desktop.
Save jonathas/0fa8c8063d8b9317a9b6e53cb7ec6450 to your computer and use it in GitHub Desktop.
Github Action workflow for a PR title following Conventional Commits
name: "Lint PR Title"
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
lint-pr-title:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- uses: dreampulse/action-lint-pull-request-title@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment