From 13f782eb1bd5b17e8b9c7e5f2f472ff2e9fdcad3 Mon Sep 17 00:00:00 2001 From: gatici Date: Mon, 26 Feb 2024 18:26:10 +0300 Subject: [PATCH] Pass the secrets directly by removing inherits Signed-off-by: gatici --- .github/workflows/issues.yaml | 3 ++- .github/workflows/main.yaml | 6 ++++-- .github/workflows/promote.yaml | 4 +++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/issues.yaml b/.github/workflows/issues.yaml index ee3d9dd..518a665 100644 --- a/.github/workflows/issues.yaml +++ b/.github/workflows/issues.yaml @@ -8,4 +8,5 @@ jobs: update: name: Update Issue uses: canonical/sdcore-github-workflows/.github/workflows/issues.yaml@main - secrets: inherit + secrets: + JIRA_URL: ${{ secrets.JIRA_URL }} diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e53fa95..b50da93 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -13,7 +13,8 @@ on: jobs: check-libraries: uses: canonical/sdcore-github-workflows/.github/workflows/check-libraries.yaml@main - secrets: inherit + secrets: + CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }} lint-report: uses: canonical/sdcore-github-workflows/.github/workflows/lint-report.yaml@main @@ -44,4 +45,5 @@ jobs: with: charm-file-name: "sdcore-udr-k8s_ubuntu-22.04-amd64.charm" track-name: 1.3 - secrets: inherit + secrets: + CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }} diff --git a/.github/workflows/promote.yaml b/.github/workflows/promote.yaml index 4282fed..8b8afb2 100644 --- a/.github/workflows/promote.yaml +++ b/.github/workflows/promote.yaml @@ -26,4 +26,6 @@ jobs: promotion: ${{ github.event.inputs.promotion }} track-name: ${{ github.event.inputs.track-name }} - secrets: inherit + secrets: + CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}