Potential fix for code scanning alert no. 24: Workflow does not contain permissions (#1036)
* Potential fix for code scanning alert no. 24: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Update .github/workflows/claude-code-review.yml --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
20816c3c19
commit
c5714bb3b2
1 changed files with 3 additions and 0 deletions
3
.github/workflows/claude-code-review.yml
vendored
3
.github/workflows/claude-code-review.yml
vendored
|
|
@ -7,6 +7,9 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
check-fork:
|
check-fork:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
outputs:
|
outputs:
|
||||||
is_fork: ${{ steps.check.outputs.is_fork }}
|
is_fork: ${{ steps.check.outputs.is_fork }}
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue