Skip to content

Commit 021c817

Browse files
Potential fix for pull request finding 'CodeQL / Workflow does not contain permissions'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Yuniel Acosta Pérez <33158051+yacosta738@users.noreply.github.com>
1 parent e13270a commit 021c817

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/semantic-pull-request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Semantic PR
22
on:
33
pull_request_target:
44
types: [opened, edited, synchronize]
5+
permissions:
6+
contents: read
7+
packages: read
58
jobs:
69
main:
710
uses: dallay/common-actions/.github/workflows/semantic-pull-request.yml@v2.0.0

0 commit comments

Comments
 (0)