feat: add Cora AI Code Review workflow #10
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Cora AI Code Review | |
| on: | |
| pull_request: | |
| branches: [dev] | |
| types: [opened, synchronize, ready_for_review, reopened] | |
| concurrency: | |
| group: cora-review-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| id-token: write | |
| security-events: write | |
| jobs: | |
| cora-review: | |
| name: Cora AI Review | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Harden runner | |
| uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Run Cora AI Code Review | |
| uses: ./.github/actions/cora-review | |
| with: | |
| infisical-identity-id: ${{ secrets.INFISICAL_IDENTITY_ID || 'ecbb5649-982a-49f2-b721-bcbcb4f91300' }} | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |