ci: Extract linting checks from build_wheels
into a standalone workflow; Configure the linting workflow to also run on macOS.
#118
Workflow file for this run
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: "pr-title-checks" | |
on: | |
pull_request_target: | |
types: ["edited", "opened", "reopened"] | |
branches: ["main"] | |
permissions: | |
pull-requests: "read" | |
concurrency: | |
group: "${{github.workflow}}-${{github.ref}}" | |
# Cancel in-progress jobs for efficiency | |
cancel-in-progress: true | |
jobs: | |
conventional-commits: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "amannn/action-semantic-pull-request@v5" | |
env: | |
GITHUB_TOKEN: "${{secrets.GITHUB_TOKEN}}" |