Skip to content

Commit

Permalink
Try to rework permissions to leave top level read, but pass write to …
Browse files Browse the repository at this point in the history
…build-base.
  • Loading branch information
oschwaldp-oci committed Jul 12, 2023
1 parent e0b3caa commit 495d6ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
type: string

permissions:
packages: write
packages: read
contents: read

defaults:
Expand All @@ -33,6 +33,9 @@ defaults:
jobs:
build-base:
uses: .github/workflows/build_base.yaml
permissions:
packages: write
contents: read

v:
name: Discover Versions
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ph_backward_compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

permissions:
packages: write
packages: read
contents: read

defaults:
Expand All @@ -14,6 +14,9 @@ defaults:
jobs:
build-base:
uses: .github/workflows/build_base.yaml
permissions:
packages: read
contents: read

tests:
name: Tests
Expand Down

0 comments on commit 495d6ea

Please sign in to comment.