Enforce comprehensive API design rules in schema validator (Rules 1-30) #1260
Workflow file for this run
This file contains hidden or 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: Pull Request Labeler | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize, reopened] # optional but recommended | |
| permissions: | |
| contents: read # needed to read changed files | |
| pull-requests: write # needed to add/remove labels | |
| jobs: | |
| triage: | |
| runs-on: ubuntu-latest # ubuntu-24.04 is fine too, but latest is usually better | |
| steps: | |
| - name: Label PR based on changed paths | |
| uses: actions/labeler@v6 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| # Optional: if you put config somewhere else | |
| # configuration-path: .github/my-labels.yml | |
| # sync-labels: true # remove labels that no longer match (careful!) |