Skip to content

change: add explicit secrets definition for workflow_call - #3481

Merged
tekton-robot merged 1 commit into
tektoncd:mainfrom
mayankdev-oss:patch-1
Jul 6, 2026
Merged

change: add explicit secrets definition for workflow_call#3481
tekton-robot merged 1 commit into
tektoncd:mainfrom
mayankdev-oss:patch-1

Conversation

@mayankdev-oss

Copy link
Copy Markdown
Contributor

Changes

This PR explicitly defines the required secrets schema for the reusable _chatops_retest.yml workflow under the on.workflow_call.secrets configuration.

Why this is needed

Currently, the workflow expects secrets.CHATOPS_TOKEN within its jobs but does not declare it as an input in the workflow_call trigger. This triggers security/audit validation warnings (such as from zizmor) regarding unrestricted secret inheritance (secrets: inherit) in calling repositories. Explicitly declaring the secret unblocks precise pass-through mapping from the calling side.

Cross-referencing: part of the hardening efforts to unblock tektoncd/dashboard#5071.

/kind cleanup

Submitter Checklist

@tekton-robot tekton-robot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Jul 2, 2026
@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 2, 2026
@tekton-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 2, 2026
@anithapriyanatarajan

Copy link
Copy Markdown
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 6, 2026
@tekton-robot
tekton-robot merged commit caef64c into tektoncd:main Jul 6, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants