Skip to content

Commit 8b23368

Browse files
Copilot2bndy5
andcommitted
fix: add zizmor ignore comments for secrets-outside-env audit rule
Co-authored-by: 2bndy5 <14963867+2bndy5@users.noreply.github.com>
1 parent 245682c commit 8b23368

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/py-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
4141
env:
42-
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
42+
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}} # zizmor: ignore[secrets-outside-env]
4343
with:
4444
files: ./coverage.xml
4545
fail_ci_if_error: true # optional (default = false)

.github/workflows/py-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ jobs:
4141
if: startsWith(github.repository, 'cpp-linter') && !startsWith(github.ref, 'refs/tags/')
4242
env:
4343
TWINE_USERNAME: __token__
44-
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
44+
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }} # zizmor: ignore[secrets-outside-env]
4545
run: twine upload --repository testpypi dist/*
4646

4747
- name: Publish package (to PyPI)
4848
if: startsWith(github.repository, 'cpp-linter') && startsWith(github.ref, 'refs/tags/')
4949
env:
5050
TWINE_USERNAME: __token__
51-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
51+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} # zizmor: ignore[secrets-outside-env]
5252
run: twine upload dist/*

.github/workflows/snyk-container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
# In order to use the Snyk Action you will need to have a Snyk API token.
1818
# More details in https://github.com/snyk/actions#getting-your-snyk-token
1919
# or you can sign up for free at https://snyk.io/login
20-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
20+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} # zizmor: ignore[secrets-outside-env]
2121
with:
2222
image: xianpengshen/clang-tools:all
2323
args: --severity-threshold=high --file=Dockerfile.all

0 commit comments

Comments
 (0)