Skip to content

Commit 401e6c1

Browse files
fix workflow does not contain permissions (#2360)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 79845f6 commit 401e6c1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/code-deploy-preview.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
types: [labeled, synchronize]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
build:
912
if: ${{ github.event.label.name == 'deploy' }}

0 commit comments

Comments
 (0)