diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..c21267deca --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,23 @@ +demo: + - changed-files: + - any-glob-to-any-file: 'contributions/demo/**' + +contribution_to_opensource: + - changed-files: + - any-glob-to-any-file: 'contributions/open-source/**' + +feedback: + - changed-files: + - any-glob-to-any-file: 'contributions/feedback/**' + +presentation: + - changed-files: + - any-glob-to-any-file: 'contributions/presentation/**' + +scientific-paper: + - changed-files: + - any-glob-to-any-file: 'contributions/scientific-paper/**' + +tutorial: + - changed-files: + - any-glob-to-any-file: 'contributions/executable-tutorial/**' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..0e57450c56 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,14 @@ +name: Pull Request Labeler +on: + - pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1 + with: + sync-labels: true