Skip to content

Commit

Permalink
Merge pull request #2130 from step-security/ak-main-codewise-dogfood
Browse files Browse the repository at this point in the history
using ai-codewise int for dogfooding
  • Loading branch information
ashishkurmi authored May 15, 2023
2 parents 539a98c + 80c74fb commit 1000b48
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 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@6b3083af2869dc3314a0257a42f4af696cc79ba3 # v2.3.1
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 1000b48

Please sign in to comment.