diff --git a/.github/labeler.yml b/.github/labeler.yml index 4613569..73974aa 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,22 +1,75 @@ -# 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: [pull_request_target] - -jobs: - label: - - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - - steps: - - uses: actions/labeler@v4 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" +documentation: + - CODE_OF_CONDUCT.md + - CONTRIBUTING.md + - LICENSE + - MANIFEST.in + - README.md + - SECURITY.md + - docs/**/* + +admin-interface: + - appointment/admin.py + - appointment/templates/administration/**/* + - appointment/views_admin.py + +user-interface: + - appointment/templates/**/* + - appointment/static/css/**/* + - appointment/static/js/**/* + - appointment/static/img/**/* + +models: + - appointment/models.py + - appointment/tests/models/**/* + +views: + - appointment/views.py + - appointment/tests/test_views.py + +forms: + - appointment/forms.py + +tests: + - appointment/tests/**/* + - appointment/mixins/**/* + - appointment/utils/test_*.py + +settings-config: + - appointment/settings.py + - appointment/utils/settings_helpers.py + +email-functionality: + - appointment/email_sender/**/* + +static-files: + - appointment/static/**/* + +utils: + - appointment/utils/**/* + - appointment/decorators.py + - appointment/logger_config.py + - appointment/messages_.py + +urls: + - appointment/urls.py + +services: + - appointment/services.py + +asgi-wsgi: + - appointments/asgi.py + - appointments/wsgi.py + +django-settings: + - appointments/settings.py + - appointments/urls.py + - pyproject.toml + - requirements.txt + - setup.cfg + - setup.py + +python-config: + - check_version.py + +migration-guides: + - docs/migration_guides/**/* diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000..075d9e0 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,21 @@ +# 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: [ pull_request_target ] + +jobs: + label: + runs-on: ubuntu-20.04 + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"