From 30605c1d01c22e5e7300d81aa05b8483727c1700 Mon Sep 17 00:00:00 2001 From: WebCrew Date: Wed, 19 Aug 2026 04:05:35 +0200 Subject: [PATCH 1/3] Harden CI dependency installation --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e083bf..98c60e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: Parlyn CI on: push: - branches: [ master, main ] + branches: [ main ] pull_request: jobs: @@ -20,9 +20,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: npm - name: Install dependencies - run: npm install + run: npm ci - name: Structural and syntax checks run: npm run check From 56ee9ced81beeb05fbbf301405de1a072666e122 Mon Sep 17 00:00:00 2001 From: WebCrew Date: Wed, 19 Aug 2026 04:05:40 +0200 Subject: [PATCH 2/3] Add Dependabot configuration --- .github/dependabot.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f67f844 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: npm + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 5 + labels: + - dependencies + commit-message: + prefix: deps From ae4c270ed07e68974d498297e3ad4f36381f1ae6 Mon Sep 17 00:00:00 2001 From: WebCrew Date: Wed, 19 Aug 2026 04:05:45 +0200 Subject: [PATCH 3/3] Add CodeQL security analysis --- .github/workflows/codeql.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..e57709f --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,30 @@ +name: CodeQL + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + schedule: + - cron: '17 3 * * 1' + +jobs: + analyze: + name: Analyze JavaScript + runs-on: ubuntu-latest + permissions: + security-events: write + packages: read + contents: read + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: javascript-typescript + + - name: Perform CodeQL analysis + uses: github/codeql-action/analyze@v3