From fc624a74bd56e4f2f03bbae955499231da21d295 Mon Sep 17 00:00:00 2001 From: Adams Pierre David <57180807+adamspd@users.noreply.github.com> Date: Fri, 12 Jan 2024 22:06:34 +0100 Subject: [PATCH 1/4] attempt to fix labeler --- .github/labeler.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 4613569..fec35f4 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -6,17 +6,18 @@ # https://github.com/actions/labeler name: Labeler -on: [pull_request_target] +on: + pull_request_target: + workflow_dispatch: jobs: label: - - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 permissions: contents: read pull-requests: write steps: - - uses: actions/labeler@v4 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" + - uses: actions/labeler@v4 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} From 6ddcf0c81bacc59f9f2df38dd9c1d2887f996145 Mon Sep 17 00:00:00 2001 From: Adams Pierre David <57180807+adamspd@users.noreply.github.com> Date: Fri, 12 Jan 2024 22:10:21 +0100 Subject: [PATCH 2/4] attempt to fix labeler --- .github/labeler.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index fec35f4..4433753 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -6,9 +6,7 @@ # https://github.com/actions/labeler name: Labeler -on: - pull_request_target: - workflow_dispatch: +on: [ pull_request_target, workflow_dispatch ] jobs: label: From 46fbfe8602f31b9ca19047e547e091f03edc8395 Mon Sep 17 00:00:00 2001 From: Adams Pierre David <57180807+adamspd@users.noreply.github.com> Date: Fri, 12 Jan 2024 22:12:25 +0100 Subject: [PATCH 3/4] attempt to fix labeler --- .github/{ => workflows}/labeler.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{ => workflows}/labeler.yml (100%) diff --git a/.github/labeler.yml b/.github/workflows/labeler.yml similarity index 100% rename from .github/labeler.yml rename to .github/workflows/labeler.yml From 63fcd85c3d97705e0551157b1a3ca6f63ccd47af Mon Sep 17 00:00:00 2001 From: Adams Pierre David <57180807+adamspd@users.noreply.github.com> Date: Fri, 12 Jan 2024 22:22:38 +0100 Subject: [PATCH 4/4] attempt to fix labeler --- .github/labeler.yml | 75 ++++++++++++++++++++ .github/workflows/{labeler.yml => label.yml} | 4 +- 2 files changed, 77 insertions(+), 2 deletions(-) create mode 100644 .github/labeler.yml rename .github/workflows/{labeler.yml => label.yml} (82%) diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..73974aa --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,75 @@ +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/labeler.yml b/.github/workflows/label.yml similarity index 82% rename from .github/workflows/labeler.yml rename to .github/workflows/label.yml index 4433753..075d9e0 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/label.yml @@ -6,7 +6,7 @@ # https://github.com/actions/labeler name: Labeler -on: [ pull_request_target, workflow_dispatch ] +on: [ pull_request_target ] jobs: label: @@ -18,4 +18,4 @@ jobs: steps: - uses: actions/labeler@v4 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + repo-token: "${{ secrets.GITHUB_TOKEN }}"