From 17ddbab928aeaea7a9e26a68f3d31fa640ae7c86 Mon Sep 17 00:00:00 2001 From: Jamie Zieziula Date: Tue, 1 Oct 2024 15:14:48 -0400 Subject: [PATCH] add comment & secrets inherit perm (#103) Co-authored-by: jamie zieziula --- .github/workflows/images-main.yaml | 2 ++ .github/workflows/images-prs.yaml | 1 + .github/workflows/images-tags.yaml | 5 +++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/images-main.yaml b/.github/workflows/images-main.yaml index 6206c61..f0e0125 100644 --- a/.github/workflows/images-main.yaml +++ b/.github/workflows/images-main.yaml @@ -26,3 +26,5 @@ jobs: with: environment: dev image: prefect-operator-dev + # this is required so that the workflow can read secrets rom the environment + secrets: inherit diff --git a/.github/workflows/images-prs.yaml b/.github/workflows/images-prs.yaml index 0ddac7c..bf96f2b 100644 --- a/.github/workflows/images-prs.yaml +++ b/.github/workflows/images-prs.yaml @@ -33,4 +33,5 @@ jobs: with: environment: dev image: prefect-operator-dev + # this is required so that the workflow can read secrets rom the environment secrets: inherit diff --git a/.github/workflows/images-tags.yaml b/.github/workflows/images-tags.yaml index 62c1d7c..94d6cf0 100644 --- a/.github/workflows/images-tags.yaml +++ b/.github/workflows/images-tags.yaml @@ -58,6 +58,8 @@ jobs: with: environment: prod image: prefect-operator + # this is required so that the workflow can read secrets rom the environment + secrets: inherit create_helm_release: needs: build_and_push_image_for_tags @@ -65,6 +67,5 @@ jobs: permissions: # required by downstream jobs contents: write - # this is required so that the workflow can read secrets - # from the environment + # this is required so that the workflow can read secrets rom the environment secrets: inherit