Skip to content

Commit b331c2f

Browse files
authored
fix(security): add permissions:contents:read to social-publish workflow
Add permissions section for content access. Signed-off-by: Igor <romanchaa997@gmail.com>
1 parent 9b660a3 commit b331c2f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/social-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ on:
2424
- twitter
2525
- all
2626

27+
28+
permissions:
29+
contents: read
2730
env:
2831
LINKEDIN_ACCESS_TOKEN: ${{ secrets.LINKEDIN_ACCESS_TOKEN }}
2932
LINKEDIN_PERSON_URN: ${{ secrets.LINKEDIN_PERSON_URN }}

0 commit comments

Comments
 (0)