Skip to content

Commit

Permalink
fix: id-token permission for release / snapshot (#4752)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal authored Oct 5, 2023
1 parent d8be81d commit d145290
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Release
on:
push:
tags: [ 'v*.*.*' ]
permissions:
id-token: write
jobs:
release:
if: github.repository == 'aws/karpenter'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Snapshot
on:
push:
branches: [ main ]
permissions:
id-token: write
jobs:
release:
if: github.repository == 'aws/karpenter'
Expand Down

0 comments on commit d145290

Please sign in to comment.