We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 39fa126 + 1f715fe commit f702486Copy full SHA for f702486
.github/workflows/code-review.yml
@@ -1,27 +1,23 @@
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
15
16
- pull-requests: write
17
- id-token: write
+ pull-requests: read
18
steps:
19
- name: Harden Runner
20
uses: step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969 # v2.4.0
21
with:
22
- egress-policy: audit
+ disable-sudo: true
+ egress-policy: block
+ allowed-endpoints: >
+ api.github.com:443
+ int.api.stepsecurity.io:443
23
24
25
- uses: docker://ghcr.io/step-security/code-reviewer/int:latest
26
- env:
27
- PAT: ${{ secrets.GITHUB_TOKEN }}
+ uses: step-security/ai-codewise@int
0 commit comments