ci(.github): revamp workflows and add hatch #29
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 Labels | |
on: | |
pull_request_target: | |
types: [opened, labeled, unlabeled, synchronize] | |
jobs: | |
pr_labels: | |
name: 🏭 Verify | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🏷 Verify PR has a valid label | |
uses: jesusvasquez333/[email protected] | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
valid-labels: >- | |
breaking-change, bugfix, documentation, enhancement, | |
refactor, performance, new-feature, maintenance, ci, cd, dependencies | |
disable-reviews: true | |
pull-request-number: '${{ github.event.pull_request.number }}' |