pr-title.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. name: 'Lint PR'
  2. on:
  3. pull_request:
  4. types:
  5. - opened
  6. - edited
  7. - synchronize
  8. permissions:
  9. contents: read
  10. concurrency:
  11. group: ${{ github.workflow }}-${{ github.ref }}
  12. cancel-in-progress: true
  13. jobs:
  14. main:
  15. permissions:
  16. pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
  17. statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
  18. name: PR has semantic title
  19. runs-on: ubuntu-latest
  20. steps:
  21. - uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
  22. env:
  23. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  24. with:
  25. types: |
  26. fix
  27. feat
  28. docs
  29. meta
  30. scopes: |
  31. cli
  32. core
  33. db2
  34. ibmi
  35. mariadb
  36. mssql
  37. mysql
  38. oracle
  39. postgres
  40. snowflake
  41. sqlite3
  42. utils
  43. validator.js
  44. ignoreLabels: |
  45. ignore-semantic-pull-request