Skip to content

Commit

Permalink
Add default permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos committed Jun 1, 2024
1 parent 73f1882 commit debd89c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/add-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@ name: add-labels
on:
workflow_dispatch:

permissions:
contents: read

jobs:
test_action_job:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Check out source code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: Synchronize labels
uses: julb/action-manage-label@6ab8797f08ad692a9c1983de9b7c70fecaa927cf # v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ossf-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:

workflow_dispatch:

# Declare default GITHUB_TOKEN permissions as read only.
permissions: read-all
permissions:
contents: read

jobs:
analysis:
Expand Down

0 comments on commit debd89c

Please sign in to comment.