Skip to content

Commit ad6bbeb

Browse files
Potential fix for code scanning alert no. 1124: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 8e00965 commit ad6bbeb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/chatops.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ jobs:
88
slash-command-dispatch:
99
runs-on: ubuntu-slim
1010
timeout-minutes: 30
11+
permissions:
12+
contents: read
13+
issues: read
14+
pull-requests: read
1115
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/')
1216

1317
steps:

0 commit comments

Comments
 (0)