Skip to content

Commit 93f8c9a

Browse files
authored
Merge pull request #2103 from step-security/ak-code-reviewer-main
adding code reviewer workflow
2 parents a9f2ba0 + 827cfa4 commit 93f8c9a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/code-review.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Code Review
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
- int
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
code-review:
12+
name: Code Review
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
pull-requests: write
17+
steps:
18+
- name: Harden Runner
19+
uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3 # v2.3.1
20+
with:
21+
egress-policy: audit
22+
23+
- name: Code Review
24+
uses: docker://ghcr.io/step-security/code-reviewer/int:latest
25+
env:
26+
PAT: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)