feat : Support repository property for GitHub organization ruleset #746
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, synchronize, reopened] | |
| permissions: read-all | |
| jobs: | |
| labeler: | |
| name: Label PRs | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write # Use this if all labels already exist in the repository (i.e., pre-defined in .github/labeler.yml). | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Run Labeler | |
| uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1 | |
| with: | |
| sync-labels: false # Whether or not to remove labels when matching files are reverted or no longer changed by the PR |