Remove duplicate github-actions entry, commented out code, unnecessar… #74
Annotations
2 errors and 1 warning
Run pre-commit on all files:
backend/src/tasks/functions.yml#L1
$ {'cloudwatchToS3': {'handler': 'src/tasks/cloudwatchToS3.handler', 'timeout': 900, 'events': [{'schedule': 'rate(4 hours)'}], 'reservedConcurrency': 1, 'memorySize': 4096}, 'scheduler': {'handler': 'src/tasks/scheduler.handler', 'timeout': 900, 'events': [{'schedule': 'rate(5 minutes)'}], 'reservedConcurrency': 1, 'memorySize': 4096}, 'syncdb': {'timeout': 900, 'handler': 'src/tasks/syncdb.handler'}, 'pesyncdb': {'timeout': 900, 'handler': 'src/tasks/pesyncdb.handler'}, 'bastion': {'timeout': 900, 'handler': 'src/tasks/bastion.handler'}, 'makeGlobalAdmin': {'handler': 'src/tasks/makeGlobalAdmin.handler'}, 'checkUserExpiration': {'timeout': 300, 'handler': 'src/tasks/checkUserExpiration.handler', 'events': [{'schedule': 'cron(0 0 * * ? *)'}]}, 'scanExecution': {'handler': 'src/tasks/scanExecution.handler', 'timeout': 300, 'environment': {'SQS_QUEUE_NAME': '${self:provider.stage}-worker-control-queue'}, 'events': [{'sqs': {'arn': {'Fn::GetAtt': ['WorkerControlQueue', 'Arn']}}}], 'memorySize': 4096}, 'updateScanTaskStatus': {'handler': 'src/tasks/updateScanTaskStatus.handler', 'events': [{'eventBridge': {'name': '${self:provider.stage}-updateScanTaskStatus', 'pattern': {'source': ['aws.ecs'], 'detail-type': ['ECS Task State Change'], 'detail': {'clusterArn': ["${file(env.yml):${self:provider.stage}-ecs-cluster, ''}"]}}}}]}} is not of type 'array', 'null'
|
Run pre-commit on all files
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/setup-go@v4, actions/cache@v3, hashicorp/setup-terraform@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading