diff --git a/.github/workflows/CodeQL-Analysis.yml b/.github/workflows/CodeQL-Analysis.yml new file mode 100644 index 00000000..534144dc --- /dev/null +++ b/.github/workflows/CodeQL-Analysis.yml @@ -0,0 +1,30 @@ +name: "CodeQL Analysis" +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + security-scan: + name: Run CodeQL Analysis + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up CodeQL + uses: github/codeql-action/init@v2 + with: + languages: 'swift' + + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + - name: Run CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: security