Repository navigation
GitHub Actions(deps): Bump ad-m/github-push-action from 1.1.0 to 1.3.0 #31
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
| ## | |
| # AI pull request review via Cloudflare AI Gateway (central reusable workflow). | |
| # Posts a sticky PR comment and optional Actions check annotations (file/line) from the model JSON. | |
| # | |
| # Secrets (repository or organization): CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_AI_GATEWAY_TOKEN | |
| # Variable (organization or repository): CLOUDFLARE_AI_GATEWAY_ID — gateway id path segment (not a secret). | |
| # | |
| # Pin `uses: ...@main` (or a commit SHA). Set `prompts_ref` to the same ref (e.g. main). | |
| ## | |
| name: AI Code Review | |
| on: | |
| pull_request: | |
| types: [ opened, synchronize, reopened, ready_for_review ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| review: | |
| if: github.event.pull_request.draft == false && github.event.pull_request.head.repo.fork == false | |
| name: Review PR diff | |
| uses: newfold-labs/workflows/.github/workflows/reusable-code-review.yml@main | |
| with: | |
| prompts_ref: main | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| checks: write | |
| secrets: | |
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| CLOUDFLARE_AI_GATEWAY_TOKEN: ${{ secrets.CLOUDFLARE_AI_GATEWAY_TOKEN }} |