Skip to content

Commit

Permalink
fix: allow helm-release workflow to inherit secrets (#99)
Browse files Browse the repository at this point in the history
* add missing token & make unit tests a dependency

* add secrets permissions

---------

Co-authored-by: jamie zieziula <[email protected]>
  • Loading branch information
jamiezieziula and jamie zieziula authored Sep 30, 2024
1 parent 95d46ca commit e9eda34
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,11 @@ jobs:

create_helm_release:
if: github.ref_type == 'tag'
needs: build_and_push_docker_image
uses: ./.github/workflows/helm-release.yaml
permissions:
# required by downstream jobs
contents: write
needs: build_and_push_docker_image
uses: ./.github/workflows/helm-release.yaml
# this is required so that the workflow can read secrets
# from the environment
secrets: inherit

0 comments on commit e9eda34

Please sign in to comment.