diff --git a/.github/workflows/CodeQL-Analysis.yml b/.github/workflows/CodeQL-Analysis.yml new file mode 100644 index 00000000..f3e70c37 --- /dev/null +++ b/.github/workflows/CodeQL-Analysis.yml @@ -0,0 +1,26 @@ +name: CodeQL Analysis + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + analyze: + name: Analyze CodeQL + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: swift + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2