diff --git a/.github/workflows-config/pr-label-file-paths.yml b/.github/workflows-config/pr-label-file-paths.yml new file mode 100644 index 00000000000..bddcd7bf1ce --- /dev/null +++ b/.github/workflows-config/pr-label-file-paths.yml @@ -0,0 +1,6 @@ +# https://github.com/actions/labeler + +pkg:x6: + - packages/x6/**/* +pkg:x6-components: + - packages/x6-components/**/* \ No newline at end of file diff --git a/.github/workflows/pr-label-file-paths.yml b/.github/workflows/pr-label-file-paths.yml new file mode 100644 index 00000000000..a85a9e6c6a5 --- /dev/null +++ b/.github/workflows/pr-label-file-paths.yml @@ -0,0 +1,10 @@ +name: Label(File Paths) +on: pull_request +jobs: + label: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/workflows-config/pr-label-file-paths.yml \ No newline at end of file