Update github action versions #1009
Annotations
4 errors and 4 warnings
/home/runner/work/fixmy.platform/fixmy.platform/fahrradparken/notifications.py#L1
from django.conf import settings
from django.core import mail
from django.template.loader import render_to_string
from .models import EventSignup
+
# TODO Delete, will not be used.
def send_registration_confirmation(instance):
"""Notify users who signed up for an event of news."""
context = {"signup": instance}
|
/home/runner/work/fixmy.platform/fixmy.platform/fahrradparken/urls.py#L74
ParkingFacilityDetail.as_view(),
name='parkingfacility-detail',
),
]
+
# class to modify the generated schema s.t. there are only get methods
class GetSchemaGenerator(SchemaGenerator):
def get_schema(self, *args, **kwargs):
schema = super().get_schema(*args, **kwargs)
paths = schema['paths']
|
/home/runner/work/fixmy.platform/fixmy.platform/fixmydjango/urls.py#L11
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
+
from django.conf import settings
from django.contrib.gis import admin
from django.shortcuts import redirect
from django.urls import include, path
|
/home/runner/work/fixmy.platform/fixmy.platform/fixmydjango/settings.py#L62
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = bool(os.getenv('DEBUG', False))
ALLOWED_HOSTS = ['*']
-CSRF_TRUSTED_ORIGINS = ['https://api.fixmyberlin.de', 'https://api-staging.fixmyberlin.de', 'https://api.radparken.info', 'https://api-staging.radparken.info', 'https://api.radbuegel-aachen.de', 'https://api-staging.radbuegel-aachen.de']
+CSRF_TRUSTED_ORIGINS = [
+ 'https://api.fixmyberlin.de',
+ 'https://api-staging.fixmyberlin.de',
+ 'https://api.radparken.info',
+ 'https://api-staging.radparken.info',
+ 'https://api.radbuegel-aachen.de',
+ 'https://api-staging.radbuegel-aachen.de',
+]
# Application definition
INSTALLED_APPS = [
'anymail',
|
Run linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3, wearerequired/lint-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|