Skip to content

Commit 965ad43

Browse files
committed
task to run trivy does not need any GitHub personal access token
1 parent db82abd commit 965ad43

4 files changed

Lines changed: 1 addition & 6 deletions

File tree

pipelines/main/pipeline.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,6 @@ jobs:
999999
image: ci-build-image
10001000
file: pinniped-ci/pipelines/shared-tasks/scan-image-trivy/task.yml
10011001
params:
1002-
GITHUB_TOKEN: ((ci-bot-access-token-with-read-user-permission))
10031002
<<: *trivy_ignores
10041003
<<: *notify_on_failure
10051004

pipelines/pull-requests/pipeline.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,6 @@ jobs:
987987
input_mapping:
988988
image: ci-build-image
989989
params:
990-
GITHUB_TOKEN: ((ci-bot-access-token-with-read-user-permission))
991990
<<: *trivy_ignores
992991

993992
- name: integration-test-oldest

pipelines/security-scan/pipeline.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
1+
# Copyright 2020-2026 the Pinniped contributors. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
display:
@@ -217,7 +217,6 @@ jobs:
217217
- task: scan
218218
file: pinniped-ci/pipelines/shared-tasks/scan-image-trivy/task.yml
219219
params:
220-
GITHUB_TOKEN: ((ci-bot-access-token-with-read-user-permission))
221220
<<: *trivy_ignores
222221
input_mapping:
223222
image: pinniped-latest-release-image
@@ -236,7 +235,6 @@ jobs:
236235
- task: scan
237236
file: pinniped-ci/pipelines/shared-tasks/scan-image-trivy/task.yml
238237
params:
239-
GITHUB_TOKEN: ((ci-bot-access-token-with-read-user-permission))
240238
<<: *trivy_ignores
241239
input_mapping:
242240
image: pinniped-latest-main-image

pipelines/shared-tasks/scan-image-trivy/task.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ inputs:
1111
- name: image
1212
outputs:
1313
params:
14-
GITHUB_TOKEN:
1514
# For format see https://trivy.dev/docs/latest/guide/configuration/filtering/#by-finding-ids
1615
IGNORE_VULNERABILITY_IDS: ""
1716
run:

0 commit comments

Comments
 (0)