From 66e22a26121e00f020a68c2fb9ab000d7ce910ea Mon Sep 17 00:00:00 2001 From: Fizitzfux <66255957+fizitzfux@users.noreply.github.com> Date: Wed, 2 Jul 2025 11:43:45 +0000 Subject: [PATCH 1/2] Wait for extensions to be loaded before opening ports --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 2ad7f21..f87c3f3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -43,7 +43,7 @@ if (!await knex.schema.hasTable('db_table_versions')) { } // get request handler const handle = new Handle(modules) -handle.init(modules, knex) +await handle.init(modules, knex) // set up logging const log = new Log(config.logging) From 71f751ce630d6852d4c6f229b2fe8e6e7674e677 Mon Sep 17 00:00:00 2001 From: Fizitzfux <66255957+fizitzfux@users.noreply.github.com> Date: Wed, 2 Jul 2025 11:53:05 +0000 Subject: [PATCH 2/2] Potential fix for code scanning alert no. 1: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/changelog.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 3402cdc..dad25ac 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -3,6 +3,9 @@ on: branches: - main +permissions: + contents: read + jobs: Generate-Changelog: runs-on: ubuntu-latest