Skip to content

Commit

Permalink
move permissions to build ci file
Browse files Browse the repository at this point in the history
  • Loading branch information
hgarvison committed Nov 18, 2024
1 parent c53822f commit 41c9a5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/_push_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ on:
required: true
type: string

permissions:
id-token: write
contents: read
attestations: write
packages: write

jobs:
push-example-image:
name: Push Image (${{ inputs.image }})
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ on:
- hello-world/**
- kafka/**

permissions:
id-token: write
contents: read
attestations: write
packages: write

jobs:
parse_tag:
name: Parse Tag
Expand Down

0 comments on commit 41c9a5c

Please sign in to comment.