Skip to content

Commit 0eb5feb

Browse files
committed
Fix pypi actions
1 parent 1abe124 commit 0eb5feb

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

.github/workflows/publish-to-live-pypi.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- name: Set up Python 3.10
14+
- name: Set up Python 3.12
1515
uses: actions/setup-python@v5
1616
with:
17-
python-version: '3.10'
17+
python-version: '3.12'
1818

1919
- name: Install pypa/build
2020
run: >-
@@ -34,6 +34,3 @@ jobs:
3434
- name: Publish distribution 📦 to PyPI
3535
if: startsWith(github.ref, 'refs/tags')
3636
uses: pypa/gh-action-pypi-publish@release/v1
37-
with:
38-
user: __token__
39-
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/publish-to-test-pypi.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,5 @@ jobs:
3434
- name: Publish distribution 📦 to Test PyPI
3535
uses: pypa/gh-action-pypi-publish@release/v1
3636
with:
37-
user: __token__
38-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
3937
repository_url: https://test.pypi.org/legacy/
4038
skip_existing: true

djangocms_frontend/contrib/link/views.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ def get(self, request, *args, **kwargs):
2020
}
2121
"""
2222

23-
# TODO Check permissions
24-
# ======================
2523
self.term = kwargs.get("term", request.GET.get("term", "")).strip()
2624
results = get_link_choices(request, self.term)
2725
return JsonResponse(

0 commit comments

Comments
 (0)