mirror of
https://github.com/SeleniumHQ/selenium.git
synced 2026-03-26 16:18:38 +00:00
26 lines
673 B
YAML
26 lines
673 B
YAML
# Configuration for Label Generation - ./.github/pr-labeler-config.yml
|
|
name: Label pull requests based on file paths
|
|
|
|
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@v4
|
|
with:
|
|
ref: ${{ github.event.pull_request.base.ref }}
|
|
repository: seleniumhq/selenium
|
|
- name: Auto label Pull Requests
|
|
uses: actions/labeler@v5
|
|
with:
|
|
repo-token: ${{ secrets.SELENIUM_CI_TOKEN }}
|
|
configuration-path: .github/pr-labeler-config.yml
|