refactor: remove circular dependency and add plugin to detect #1518
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: PR Labeler | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - edited | |
| permissions: | |
| # Permits `github/issue-labeler` to add a label to a pull request | |
| pull-requests: write | |
| contents: read | |
| jobs: | |
| change-labeling: | |
| name: Labeling for changes | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'web-infra-dev/rslib' | |
| steps: | |
| - uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4 | |
| with: | |
| repo-token: '${{ secrets.GITHUB_TOKEN }}' | |
| configuration-path: .github/pr-labeler.yml | |
| enable-versioned-regex: 0 | |
| include-title: 1 | |
| sync-labels: 1 |