Skip to content

Commit

Permalink
Update code-review.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsh-coder committed Apr 30, 2023
1 parent b4ed311 commit 50ba86c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@ on:
branches:
- main
- int
permissions:
contents: read

jobs:
code-review:
name: int tests
name: Code Review
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3
uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3 # v2.3.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
egress-policy: audit

- name: Code Review
uses: docker://ghcr.io/step-security/code-reviewer/int:latest # docker pull ghcr.io/step-security/code-reviewer/int:latest
uses: docker://ghcr.io/step-security/code-reviewer/int:latest
env:
PAT: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 50ba86c

Please sign in to comment.