Skip to content

Commit

Permalink
build: explicitly set permissions for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Dec 6, 2023
1 parent 445abdf commit d4bb3c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/markdown_related_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ permissions:
jobs:

# Define a job for updating the related packages section of READMEs:
update-related-packages:
update:

# Define a display name:
name: 'Update related packages section of READMEs'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/update_cli_permissions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ on:
# Allow the workflow to be manually run:
workflow_dispatch:

# Global permissions:
permissions:
# Allow read-only access to the repository contents:
contents: read

# Workflow jobs:
jobs:

Expand Down

0 comments on commit d4bb3c0

Please sign in to comment.