Skip to content

Commit

Permalink
using ai-codewise int for dogfooding
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishkurmi committed May 14, 2023
1 parent 39fa126 commit 1f715fe
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 1f715fe

Please sign in to comment.