From 5337c2a7f00bcace1513ea437c95289439ae3b20 Mon Sep 17 00:00:00 2001 From: yuyeol3 Date: Mon, 2 Nov 2026 02:29:18 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=88=98=EC=A7=91=20=EC=9B=8C?= =?UTF-8?q?=ED=81=AC=ED=94=8C=EB=A1=9C=EA=B0=80=20Environment=20=EC=8B=9C?= =?UTF-8?q?=ED=81=AC=EB=A6=BF=EC=9D=84=20=EB=B0=9B=EB=8F=84=EB=A1=9D=20sec?= =?UTF-8?q?rets:=20inherit=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/collect.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/collect.yml b/.github/workflows/collect.yml index 37597dc..95dc92f 100644 --- a/.github/workflows/collect.yml +++ b/.github/workflows/collect.yml @@ -21,6 +21,8 @@ jobs: dev: if: github.event_name == 'schedule' || inputs.environment == 'dev' uses: ./.github/workflows/_collect.yml + # 재사용 워크플로는 job에 environment를 지정해도, 호출 쪽에서 inherit해야 Environment 시크릿을 받는다. + secrets: inherit permissions: contents: read id-token: write @@ -32,6 +34,7 @@ jobs: # 운영 서버와 release 브랜치가 준비되면 레포 변수 PROD_ENABLED=true로 켠다. if: vars.PROD_ENABLED == 'true' && (github.event_name == 'schedule' || inputs.environment == 'prod') uses: ./.github/workflows/_collect.yml + secrets: inherit permissions: contents: read id-token: write