Skip to content

Commit 85aa9b7

Browse files
authored
ci: remove secrets from run block (aquasecurity#10590)
1 parent 72c2a23 commit 85aa9b7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release-please.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ jobs:
3434
- name: Release Please
3535
env:
3636
RELEASE_VERSION: ${{ github.event.inputs.version }}
37+
TRIVY_REPO_TOKEN: ${{ secrets.TRIVY_REPO_TOKEN }}
3738
run: |
3839
release-please release-pr --repo-url="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" \
39-
--token="${{ secrets.TRIVY_REPO_TOKEN }}" \
40+
--token="$TRIVY_REPO_TOKEN" \
4041
--release-as="$RELEASE_VERSION" \
4142
--target-branch="$GITHUB_REF_NAME"
4243

0 commit comments

Comments
 (0)