Skip to content

Improve: pass the CA workflow values to the shell through env - #575

Merged
SandObserver merged 1 commit into
mainfrom
chore/ca-workflow-env-values
Oct 27, 2026
Merged

SandObserver merged 1 commit into
mainfrom
chore/ca-workflow-env-values

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Pass the repository name and default branch to ca-validate.py through env in both CA template workflows, instead of expanding ${{ }} inside run:.
  • Add a workflow hardening test that fails on any ${{ }} expression inside a run: script, in every workflow and composite action.

Testing
All green. The new test fails on the previous workflow.

Changelog

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.

@SandObserver SandObserver added the github_actions Pull requests that update GitHub Actions code label Oct 27, 2026
@SandObserver
SandObserver merged commit ec245c6 into main Oct 27, 2026
7 checks passed
@SandObserver
SandObserver deleted the chore/ca-workflow-env-values branch October 27, 2026 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant