Skip to content

Commit

Permalink
Merge pull request #300 from step-security/ak-codewise-dogfooding
Browse files Browse the repository at this point in the history
using ai-codewise int for dogfooding
  • Loading branch information
ashishkurmi committed May 15, 2023
2 parents 39fa126 + 1f715fe commit f702486
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/code-review.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
name: Code Review
on:
pull_request:
branches:
- main
- int
permissions:
contents: read

jobs:
code-review:
name: Code Review
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
id-token: write
pull-requests: read
steps:
- name: Harden Runner
uses: step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969 # v2.4.0
with:
egress-policy: audit
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
int.api.stepsecurity.io:443
- name: Code Review
uses: docker://ghcr.io/step-security/code-reviewer/int:latest
env:
PAT: ${{ secrets.GITHUB_TOKEN }}
uses: step-security/ai-codewise@int

0 comments on commit f702486

Please sign in to comment.