Skip to content

Commit d4bb3c0

Browse files
committed
build: explicitly set permissions for workflow
1 parent 445abdf commit d4bb3c0

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/markdown_related_packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ permissions:
4242
jobs:
4343

4444
# Define a job for updating the related packages section of READMEs:
45-
update-related-packages:
45+
update:
4646

4747
# Define a display name:
4848
name: 'Update related packages section of READMEs'

.github/workflows/update_cli_permissions.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ on:
2828
# Allow the workflow to be manually run:
2929
workflow_dispatch:
3030

31+
# Global permissions:
32+
permissions:
33+
# Allow read-only access to the repository contents:
34+
contents: read
35+
3136
# Workflow jobs:
3237
jobs:
3338

0 commit comments

Comments
 (0)