From 3d16c1a116710faa4955bd5c650a905e7f10e37f Mon Sep 17 00:00:00 2001 From: Federico Carboni Date: Fri, 30 Aug 2024 16:38:58 -0300 Subject: [PATCH 1/4] Create codeql.yml --- .github/workflows/codeql.yml | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 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..faac0db --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,48 @@ +name: "CodeQL" + +on: + push: + branches: [ "master" ] + paths-ignore: + - '**/*.md' + - 'tailwind/**/*.js' + pull_request: + branches: [ "master" ] + paths-ignore: + - '**/*.md' + - 'tailwind/**/*.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}}" + From 8dfcaf8fbf6d15e6c410f4f87c5a02a174f86170 Mon Sep 17 00:00:00 2001 From: Federico Carboni Date: Fri, 30 Aug 2024 16:41:15 -0300 Subject: [PATCH 2/4] ignore workflows --- .github/workflows/codeql.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index faac0db..f23f643 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -5,11 +5,13 @@ on: branches: [ "master" ] paths-ignore: - '**/*.md' + - '.github/workflows/**' - 'tailwind/**/*.js' pull_request: branches: [ "master" ] paths-ignore: - '**/*.md' + - '.github/workflows/**' - 'tailwind/**/*.js' jobs: From 3d2d0e2a68cc7e1de8e80d9a9e1c38fd728a8c73 Mon Sep 17 00:00:00 2001 From: Federico Carboni Date: Fri, 30 Aug 2024 16:43:04 -0300 Subject: [PATCH 3/4] ignore tailwindcss --- .github/workflows/codeql.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f23f643..67ddbba 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -6,13 +6,13 @@ on: paths-ignore: - '**/*.md' - '.github/workflows/**' - - 'tailwind/**/*.js' + - 'tailwindcss.js' pull_request: branches: [ "master" ] paths-ignore: - '**/*.md' - '.github/workflows/**' - - 'tailwind/**/*.js' + - 'tailwindcss.js' jobs: analyze: From 0e2a9672fb315cf4009676c8f9515b587fb69686 Mon Sep 17 00:00:00 2001 From: Federico Carboni Date: Fri, 30 Aug 2024 16:44:40 -0300 Subject: [PATCH 4/4] Update python-app.yml --- .github/workflows/python-app.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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