Lint PR - (#116) feat: add go linters and pre-commit hooks to ensure they are executed #146
Workflow file for this run
This file contains hidden or 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
# This workflow is used to verify if PR titles matches conventional commits strategy | |
name: Lint PR Title | |
run-name: "Lint PR - (#${{ github.event.number }}) ${{ github.event.pull_request.title }}" | |
permissions: | |
pull-requests: read | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- ready_for_review | |
jobs: | |
lint: | |
name: Validate PR title matches conventional commits | |
runs-on: ubuntu-latest | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |