Skip to content

The secrets: section in the included runbook is not working #1203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
k1LoW opened this issue Apr 1, 2025 · 0 comments · Fixed by #1220
Closed

The secrets: section in the included runbook is not working #1203

k1LoW opened this issue Apr 1, 2025 · 0 comments · Fixed by #1220
Labels
bug Something isn't working

Comments

@k1LoW
Copy link
Owner

k1LoW commented Apr 1, 2025

# main.yml
steps:
  -
    include:
      path: include.yml
      vars:
        secret: "this is secret"
# include.yml
vars:
  secret: 'dummy'
secrets:
  - vars.secret
steps:
  -
    exec:
      command: echo '{{ vars.secret }}'
$ runn run main.yml --scopes run:exec --debug
Run "include" on "Generated by `runn new`".steps[0]
Run "exec" on "Generated by `runn new`".steps[0]
-----START COMMAND-----
echo 'this is secret'
-----END COMMAND-----
-----START STDOUT-----
this is secret

-----END STDOUT-----
-----START STDERR-----

-----END STDERR-----
.

1 scenario, 0 skipped, 0 failures
@k1LoW k1LoW added the bug Something isn't working label Apr 1, 2025
@k1LoW k1LoW changed the title The “secrets:” section in the included runbook is not working The secrets: section in the included runbook is not working Apr 1, 2025
@k1LoW k1LoW closed this as completed in 508481f Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant