From 36773a712535a0265c70fc064ea497311c7ffbd7 Mon Sep 17 00:00:00 2001 From: MulyukovAidar Date: Wed, 1 Nov 2023 15:39:19 +0400 Subject: [PATCH 1/2] Update build.yml --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c92997..d1dc32e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,9 @@ name: build on: push: - branches: [ master ] + branches: [ master, dev ] pull_request: - branches: [ master ] + branches: [ master, dev ] jobs: build: @@ -39,4 +39,4 @@ jobs: - run: npm run test env: - CI: true \ No newline at end of file + CI: true From 454c6c92a55a587e2d3594948a35f60fe499bba1 Mon Sep 17 00:00:00 2001 From: MulyukovAidar Date: Fri, 22 Mar 2024 12:14:20 +0400 Subject: [PATCH 2/2] Create codeql.yml --- .github/workflows/codeql.yml | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 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..7082019 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,49 @@ +name: "CodeQL" + +on: + push: + branches: [main, dev, certification] + pull_request: + branches: [main, dev, certification] + schedule: + - cron: '0 0 * * 3' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + timeout-minutes: 60 + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: ['typescript'] + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 2 + + - name: Use Node.js 18 + uses: actions/setup-node@v2 + with: + node-version: 18.x + + - name: Install Dependencies + run: npm ci + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + + - name: Autobuild + uses: github/codeql-action/autobuild@v3 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3