| # Configuration for Label Generation - ./.github/pr-labeler-config.yml | |
| name: Webhook - PR Labeler | |
| on: | |
| pull_request_target: | |
| types: [opened] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| label: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout base repo to get config file | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event.pull_request.base.ref }} | |
| repository: seleniumhq/selenium | |
| - name: Auto label Pull Requests | |
| uses: actions/labeler@v6 | |
| with: | |
| repo-token: ${{ secrets.SELENIUM_CI_TOKEN }} | |
| configuration-path: .github/pr-labeler-config.yml |