diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..534f725 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,24 @@ +name: CodeQL + +on: + push: + branches: [main] + pull_request: + branches: [main] + schedule: + - cron: "0 6 * * 1" + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + security-events: write + steps: + - uses: actions/checkout@v4 + - uses: github/codeql-action/init@v3 + with: + languages: actions + - uses: github/codeql-action/analyze@v3 + with: + category: /language:actions diff --git a/README.md b/README.md index 9d949f4..15ba7b3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # FerrFlow Benchmarks +[![CI](https://github.com/FerrFlow-Org/Benchmarks/actions/workflows/ci.yml/badge.svg)](https://github.com/FerrFlow-Org/Benchmarks/actions/workflows/ci.yml) +[![CodeQL](https://github.com/FerrFlow-Org/Benchmarks/actions/workflows/codeql.yml/badge.svg)](https://github.com/FerrFlow-Org/Benchmarks/actions/workflows/codeql.yml) +[![License](https://img.shields.io/github/license/FerrFlow-Org/Benchmarks)](LICENSE) + Reusable GitHub Action for running FerrFlow benchmarks and detecting performance regressions. ## Usage