Skip to content

Commit

Permalink
chore: Pass the secrets directly by removing inherits (#81)
Browse files Browse the repository at this point in the history
Signed-off-by: gatici <[email protected]>
  • Loading branch information
gatici authored Feb 26, 2024
1 parent 829eed8 commit 55bf521
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
6 changes: 4 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
with:
charm-file-name: "sdcore-nrf-k8s_ubuntu-22.04-amd64.charm"
track-name: 1.3
secrets: inherit
secrets:
CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }}

lib-needs-publishing:
runs-on: ubuntu-22.04
Expand All @@ -68,4 +69,5 @@ jobs:
uses: canonical/sdcore-github-workflows/.github/workflows/publish-lib.yaml@main
with:
lib-name: "charms.sdcore_nrf_k8s.v0.fiveg_nrf"
secrets: inherit
secrets:
CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }}
4 changes: 3 additions & 1 deletion .github/workflows/promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 55bf521

Please sign in to comment.