Update actions/checkout action to v3.6.0 #100
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 | |
on: | |
pull_request_target: | |
types: [opened, labeled, unlabeled, synchronize] | |
jobs: | |
label: | |
name: Check Labels | |
runs-on: ubuntu-latest | |
steps: | |
- name: Has semver label | |
if: github.base_ref != 'main' && github.head_ref != 'develop' | |
uses: jesusvasquez333/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
valid-labels: 'major, minor, patch' | |
pull-request-number: ${{ github.event.pull_request.number }} | |
disable-reviews: true | |
- name: Has change type label | |
if: github.base_ref != 'main' && github.head_ref != 'develop' | |
uses: jesusvasquez333/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
valid-labels: 'feature, enhancement, fix, bugfix, bug, chore' | |
pull-request-number: ${{ github.event.pull_request.number }} | |
disable-reviews: true |