-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
using ai-codewise int for dogfooding
- Loading branch information
1 parent
39fa126
commit 1f715fe
Showing
1 changed file
with
7 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
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 |