Skip to content

Commit cb7746e

Browse files
committed
build: explicitly set permissions for workflow
1 parent 0726f90 commit cb7746e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/markdown_related_packages.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,16 @@ on:
3333
# Run the workflow once a day at 2:00 AM UTC:
3434
- cron: '0 2 * * *'
3535

36+
# Global permissions:
37+
permissions:
38+
# Allow read-only access to the repository contents:
39+
contents: read
40+
3641
# Workflow jobs:
3742
jobs:
3843

3944
# Define a job for updating the related packages section of READMEs:
40-
lint:
45+
update-related-packages:
4146

4247
# Define a display name:
4348
name: 'Update related packages section of READMEs'

0 commit comments

Comments
 (0)