From 0ec010d3c81263e78fb78297b913a33c3cb085b4 Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Sat, 10 Feb 2024 11:44:31 -0300 Subject: [PATCH] inherit secrets --- .github/actions/go-release/action.yml | 3 +-- .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/go-release/action.yml b/.github/actions/go-release/action.yml index 1b4c6ab..eea6805 100644 --- a/.github/actions/go-release/action.yml +++ b/.github/actions/go-release/action.yml @@ -3,7 +3,7 @@ description: 'Pushes go code to the sdk repo' inputs: repository-token: description: token for git authentication - required: false + required: true mode: description: supporte values are 'release' and 'dry-run' required: true @@ -25,7 +25,6 @@ runs: run: | go get -v -t -d ./... go build -v ./... - echo ${TOKEN} - uses: actions/checkout@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40067df..1dc0201 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,7 @@ jobs: publish-dry-run: needs: [generate] uses: ./.github/workflows/publish.yml + secrets: inherit with: mode: "dry-run"