Skip to content

Commit

Permalink
Remediate permissive workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcransome committed Jul 15, 2024
1 parent 7b73509 commit 10a728e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on:
pull_request:
branches:
- main

permissions: read-all

jobs:
dependency-review:
permissions:
pull-requests: write
uses: fish-shop/workflows/.github/workflows/dependency-review.yml@b2aac444bc73a71eefab3eca22225e1f2e2d5727 # v1.9.2
5 changes: 5 additions & 0 deletions .github/workflows/markdown-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on:
pull_request:
branches:
- main

permissions: read-all

jobs:
markdown-links:
permissions:
pull-requests: write
uses: fish-shop/workflows/.github/workflows/markdown-links.yml@b2aac444bc73a71eefab3eca22225e1f2e2d5727 # v1.9.2
5 changes: 5 additions & 0 deletions .github/workflows/release-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+

permissions: read-all

jobs:
release-tags:
permissions:
contents: write
uses: fish-shop/workflows/.github/workflows/release-tags.yml@b2aac444bc73a71eefab3eca22225e1f2e2d5727 # v1.9.2

0 comments on commit 10a728e

Please sign in to comment.