diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..67ddbba --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,50 @@ +name: "CodeQL" + +on: + push: + branches: [ "master" ] + paths-ignore: + - '**/*.md' + - '.github/workflows/**' + - 'tailwindcss.js' + pull_request: + branches: [ "master" ] + paths-ignore: + - '**/*.md' + - '.github/workflows/**' + - 'tailwindcss.js' + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + runs-on: ubuntu-latest + permissions: + security-events: write + packages: read + actions: read + contents: read + + strategy: + fail-fast: false + matrix: + include: + - language: javascript-typescript + build-mode: none + - language: python + build-mode: none + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + build-mode: ${{ matrix.build-mode }} + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{matrix.language}}" + diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 01dfe6d..7ee96a9 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -6,8 +6,16 @@ name: Python application on: push: branches: [ "master", "dev" ] + paths-ignore: + - '**/*.md' + - '.github/workflows/**' + - 'tailwindcss.js' pull_request: branches: [ "master", "dev" ] + paths-ignore: + - '**/*.md' + - '.github/workflows/**' + - 'tailwindcss.js' permissions: contents: read