Testing ConfigMap Tagging - #424
Conversation
PR Summary by QodoPoint Tekton Fulcio PR pipeline to SECURESIGN-4640 branch
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1. Mutable pipeline git revision
|
| value: 'https://github.com/securesign/pipelines.git' | ||
| - name: revision | ||
| value: 'main' | ||
| value: 'jkopriva/SECURESIGN-4640' |
There was a problem hiding this comment.
1. Mutable pipeline git revision 🐞 Bug ⛨ Security
The PR PipelineRun now resolves its pipeline definition from the mutable branch jkopriva/SECURESIGN-4640 in securesign/pipelines.git, which can silently change CI behavior over time or break builds if the branch is deleted/unavailable. This also increases supply-chain risk because PR CI will execute whatever pipeline logic that branch points to, unlike the push pipeline which remains on main.
Agent Prompt
## Issue description
`.tekton/fulcio-pull-request.yaml` uses the Tekton `git` resolver to fetch a pipeline definition from `https://github.com/securesign/pipelines.git`, but the referenced `revision` was changed from `main` to a mutable feature branch (`jkopriva/SECURESIGN-4640`). This makes PR builds non-reproducible and fragile (branch can be force-pushed/deleted) and can cause PR CI to execute unexpected pipeline logic.
## Issue Context
The push PipelineRun still references `main`, so pull-request and push builds would run different pipeline definitions.
## Fix Focus Areas
- .tekton/fulcio-pull-request.yaml[49-57]
## Recommended fix
Change `pipelineRef.params.revision` back to a stable reference (e.g., `main`, a release branch, or preferably an immutable commit SHA/tag) consistent with the push pipeline configuration.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
|
/retest |
|
All PipelineRuns for this commit have already succeeded. Use |
|
/test |
|
PR-Agent: Missing component name in ✨ Test tool usage guide:The where 'component_name' is the name of a specific component in the PR. To get a list of the components that changed in the PR, use the Configuration options:
See more information about the test tool in the docs. |
|
/test |
|
PR-Agent: Missing component name in ✨ Test tool usage guide:The where 'component_name' is the name of a specific component in the PR. To get a list of the components that changed in the PR, use the Configuration options:
See more information about the test tool in the docs. |
|
/test |
|
PR-Agent: Missing component name in ✨ Test tool usage guide:The where 'component_name' is the name of a specific component in the PR. To get a list of the components that changed in the PR, use the Configuration options:
See more information about the test tool in the docs. |
|
/test |
|
PR-Agent: Missing component name in ✨ Test tool usage guide:The where 'component_name' is the name of a specific component in the PR. To get a list of the components that changed in the PR, use the Configuration options:
See more information about the test tool in the docs. |
No description provided.