2021-04-11 23:17:28 -05:00
|
|
|
# This workflow will triage pull requests and apply a label based on the
|
|
|
|
# paths that are modified in the pull request.
|
|
|
|
#
|
|
|
|
# To use this workflow, you will need to set up a .github/labeler.yml
|
|
|
|
# file with configuration. For more information, see:
|
|
|
|
# https://github.com/actions/labeler
|
|
|
|
|
|
|
|
name: Labeler
|
|
|
|
on:
|
2021-04-24 21:02:58 -05:00
|
|
|
pull_request_target:
|
2021-04-11 23:17:28 -05:00
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- reopened
|
|
|
|
branches:
|
2023-02-26 22:26:14 -06:00
|
|
|
- master
|
2021-04-11 23:17:28 -05:00
|
|
|
paths:
|
|
|
|
- 'files/build/versions/**'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
label:
|
2023-01-30 02:57:39 -06:00
|
|
|
if: github.repository_owner == 'sonic-net'
|
2021-04-11 23:17:28 -05:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/labeler@main
|
|
|
|
with:
|
|
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|