Skip to content

Commit ac268d1

Browse files
committed
sonarcloud: fix hotspots by explicitly mentioning secrets
1 parent bc3faa2 commit ac268d1

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/bump_version.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ on:
1212
jobs:
1313
bump-up-version:
1414
if: github.event.pull_request.merged == true
15-
secrets: inherit
15+
secrets:
16+
SECRET: ${{secrets.VERSION_DECOIMPACT}}
1617
uses: ./.github/workflows/version_upgrade.yml
1718
with:
1819
release_type: patch

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ on:
1616

1717
jobs:
1818
bump-up-version:
19-
secrets: inherit
19+
secrets:
20+
SECRET: ${{secrets.VERSION_DECOIMPACT}}
2021
uses: ./.github/workflows/version_upgrade.yml
2122
with:
2223
release_type: ${{ github.event.inputs.release_type }}
@@ -37,13 +38,16 @@ jobs:
3738

3839
create-documentation:
3940
needs: bump-up-version
40-
secrets: inherit
41+
secrets:
42+
SECRET: ${{secrets.VERSION_DECOIMPACT}}
4143
uses: ./.github/workflows/mkdocs_documentation.yml
4244
with:
4345
project_version: ${{ needs.bump-up-version.outputs.project_version }}
4446

4547
docker-build:
4648
needs: bump-up-version
4749
uses: ./.github/workflows/docker_image.yml
50+
secrets:
51+
SECRET: ${{ secrets.GITHUB_TOKEN }}
4852
with:
4953
project_version: ${{ needs.bump-up-version.outputs.project_version }}

0 commit comments

Comments
 (0)