From 3e8c413799f114de1bc432c1888e8b20aa5f8599 Mon Sep 17 00:00:00 2001 From: Arpit Jain <40381412+arpitjain799@users.noreply.github.com> Date: Fri, 28 Apr 2023 12:43:29 +0900 Subject: [PATCH 1/2] Delete .github/workflows/test-on-push-and-pr.yml --- .github/workflows/test-on-push-and-pr.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/workflows/test-on-push-and-pr.yml diff --git a/.github/workflows/test-on-push-and-pr.yml b/.github/workflows/test-on-push-and-pr.yml deleted file mode 100644 index fe17cda..0000000 --- a/.github/workflows/test-on-push-and-pr.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: test-on-push-and-pr - -on: - push: - branches: [ main ] - pull_request: - branches: [ '*' ] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - env: - GITHUB_WORKSPACE: / - - name: Set up python - uses: actions/setup-python@v2 - with: - python-version: '3.8' - - name: Run 'pr' target - run: make pr From a9d48bc84536846a8e8e46787a0121e7ac34de89 Mon Sep 17 00:00:00 2001 From: Arpit Jain <40381412+arpitjain799@users.noreply.github.com> Date: Fri, 28 Apr 2023 12:43:29 +0900 Subject: [PATCH 2/2] Add new file --- .github/workflows/codeql.yml | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 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..94d110b --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,37 @@ +name: "CodeQL" +on: + workflow_dispatch: + #push: + # branches: [master] + #pull_request: + # branches: [master] + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: ["python"] + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + queries: security-and-quality + + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 \ No newline at end of file