Skip to content

chore: update tag order + linting #27

chore: update tag order + linting

chore: update tag order + linting #27

# this workflow will run on every pr to make sure the project is following the guidelines
# run labeler with elevated permissions before other actions
name: Validate PR Title
on:
pull_request_target:
branches: ["*"]
types: ["opened", "synchronize"]
jobs:
lint-pr-title:
runs-on: ubuntu-latest
name: Validate PR Title
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
labeler:
name: Label PR
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true