Skip to content

fix: remove empty secrets section from shim workflow-call template - #1074

Merged
waynesun09 merged 1 commit into
mainfrom
fix-shim-secrets-lint
May 18, 2026
Merged

fix: remove empty secrets section from shim workflow-call template#1074
waynesun09 merged 1 commit into
mainfrom
fix-shim-secrets-lint

Conversation

@waynesun09

Copy link
Copy Markdown
Member

Summary

  • Removes secrets: {} from shim-workflow-call.yaml template — actionlint flags empty secrets sections as a lint error
  • Updates the scaffold test assertion from Contains to NotContains to match

Test plan

  • go test ./internal/scaffold/... -run TestShimWorkflowCallTemplateContent passes
  • Installed shim in an enrolled repo no longer fails actionlint with "secrets" section should not be empty

actionlint flags 'secrets: {}' as a lint error — empty secrets sections
are unnecessary when no secrets are passed via workflow_call.

Signed-off-by: Wayne Sun <gsun@redhat.com>
@github-actions

Copy link
Copy Markdown

Site preview

Preview: https://b79f51e3-site.fullsend-ai.workers.dev

Commit: 250a1d8ea0fc780adeeae64d3db272ebe7495d19

@fullsend-ai-review

Copy link
Copy Markdown

Review

Findings

No findings.

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label May 18, 2026
@waynesun09
waynesun09 added this pull request to the merge queue May 18, 2026
Merged via the queue into main with commit 026054e May 18, 2026
7 of 8 checks passed
@waynesun09
waynesun09 deleted the fix-shim-secrets-lint branch May 18, 2026 14:57
@waynesun09

Copy link
Copy Markdown
Member Author

/fs-retro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge All reviewers approved — ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant