Skip to content

feat(action): sync inputs with github-action-atmos-affected-stacks#57

Merged
johncblandii merged 4 commits intomainfrom
feat/sync-action-inputs
Mar 6, 2026
Merged

feat(action): sync inputs with github-action-atmos-affected-stacks#57
johncblandii merged 4 commits intomainfrom
feat/sync-action-inputs

Conversation

@johncblandii
Copy link
Contributor

Summary

Sync all missing inputs from github-action-atmos-affected-stacks so users can fully customize atmos describe affected behavior.

Closes #56

Changes

New inputs (9)

  • skip-process-functions — skip processing Atmos functions (inverted to upstream process-functions)
  • skip-process-templates — skip processing Atmos templates (inverted to upstream process-templates)
  • atmos-include-spacelift-admin-stacks — previously hardcoded to true, now configurable (default true for backward compat)
  • atmos-include-dependents — include dependents of affected stacks
  • atmos-include-settings — include settings section per component
  • atmos-stack — target a specific stack
  • base-ref — customize the base ref for comparison
  • identity — Atmos auth identity
  • nested-matrices-count — control nested matrix output count

New output

  • matrix — affected stacks as matrix structure

Default alignment

  • jq-version updated from 1.6 to 1.7 to match upstream

Housekeeping

  • Sorted pass-through inputs alphabetically in the affected-stacks step

Testing

  • Verify backward compatibility — all new inputs have defaults matching previous behavior
  • Test skip-process-functions: true passes process-functions: false upstream
  • Test skip-process-templates: true passes process-templates: false upstream
  • Test atmos-include-spacelift-admin-stacks defaults to true (previous hardcoded value)

Add missing inputs from the upstream atmos-affected-stacks action:
base-ref, identity, atmos-include-spacelift-admin-stacks,
atmos-include-dependents, atmos-include-settings, atmos-stack,
nested-matrices-count, skip-process-functions, and
skip-process-templates. Expose matrix output. Update jq-version
default from 1.6 to 1.7.

Closes #56
The base_path was set to "./tests" but since atmos.yaml is already
inside the tests/ directory and ATMOS_CLI_CONFIG_PATH points to it,
newer atmos resolves this as tests/tests/ which doesn't exist.
The base_path change from "./tests" to "." causes atmos to report
component_path as "components/terraform/test" instead of
"tests/components/terraform/test".
@johncblandii johncblandii merged commit e644ae3 into main Mar 6, 2026
16 checks passed
@johncblandii johncblandii deleted the feat/sync-action-inputs branch March 6, 2026 16:23
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

These changes were released in v2.1.2.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Match support for all atmos inputs from github-action-atmos-affected-stacks

2 participants