diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..8c8309f --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,44 @@ +name: CodeQL + +on: + push: + branches: ["main"] + pull_request: + workflow_dispatch: + schedule: + - cron: "20 4 * * 0" + +permissions: + contents: read + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + runs-on: intel-ubuntu-latest + timeout-minutes: 45 + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [actions, javascript-typescript] + + steps: + - name: Checkout repository + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - name: Initialize CodeQL + uses: github/codeql-action/init@1fc58d04a4d4374f921bdac573c3811c240f9c26 # v4.39.2 + with: + languages: ${{ matrix.language }} + build-mode: none + + - name: Perform CodeQL analysis + uses: github/codeql-action/analyze@1fc58d04a4d4374f921bdac573c3811c240f9c26 # v4.39.2 + with: + category: "/language:${{ matrix.language }}" diff --git a/.github/workflows/copilot-code-review.yml b/.github/workflows/copilot-code-review.yml new file mode 100644 index 0000000..208fd77 --- /dev/null +++ b/.github/workflows/copilot-code-review.yml @@ -0,0 +1,14 @@ +name: Copilot Code Review + +on: workflow_dispatch + +jobs: + copilot-setup-steps: + runs-on: intel-ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout repository + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false diff --git a/README.md b/README.md index eb1aa9d..53ea97c 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@