diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..c91083a5ba --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,59 @@ +'2027': +- base-branch: '2027' +'component: apriltag': +- changed-files: + - any-glob-to-any-file: apriltag/** +'component: command-based': +- changed-files: + - any-glob-to-any-file: wpilibNewCommands/** +'component: cscore': +- changed-files: + - any-glob-to-any-file: cscore/** +'component: datalogtool': +- changed-files: + - any-glob-to-any-file: datalogtool/** +'component: epilogue': +- changed-files: + - any-glob-to-any-file: epilogue-*/** +'component: examples': +- changed-files: + - any-glob-to-any-file: wpilib*Examples/** +'component: examples': +- changed-files: + - any-glob-to-any-file: wpilib*Examples/** +'component: glass': +- changed-files: + - any-glob-to-any-file: glass/** +'component: hal': +- changed-files: + - any-glob-to-any-file: hal/** +'component: ntcore': +- changed-files: + - any-glob-to-any-file: ntcore/** +'component: outlineviewer': +- changed-files: + - any-glob-to-any-file: outlineviewer/** +'component: sysid': +- changed-files: + - any-glob-to-any-file: sysid/** +'component: teamnumbersetter': +- changed-files: + - any-glob-to-any-file: roborioteamnumbersetter/** +'component: wpilibc': +- changed-files: + - any-glob-to-any-file: wpilibc/** +'component: wpilibj': +- changed-files: + - any-glob-to-any-file: wpilibj/** +'component: wpimath': +- changed-files: + - any-glob-to-any-file: wpimath/** +'component: wpinet': +- changed-files: + - any-glob-to-any-file: wpinet/** +'component: wpiunits': +- changed-files: + - any-glob-to-any-file: wpiunits/** +'component: wpiutil': +- changed-files: + - any-glob-to-any-file: wpiutil/** diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..e57cd86e2b --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" +on: +- pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5