chore: update tag order + linting #27
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
# 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 |