Skip to content
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

Interpolation not supported in front-matter #164

Open
jnewland opened this issue Aug 18, 2023 · 1 comment · May be fixed by #166
Open

Interpolation not supported in front-matter #164

jnewland opened this issue Aug 18, 2023 · 1 comment · May be fixed by #166

Comments

@jnewland
Copy link

Run JasonEtco/create-an-issue@v2
⬤  debug     Reading from file .github/workflows/workflow-failure-issues-issue-template.md
Error: can not read a block mapping entry; a multiline key may not be an implicit key at line 2, column 7:
    labels: {{ env.LABELS }}, default-template
          ^
✖  fatal     YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 2, column 7: 
    labels: {{ env.LABELS }}, default-template

I'm pairing this workflow with another bit of logic to close the issue it opens in certain conditions. Given this I'd like to configure the set of labels on the issue at the workflow level so I can use it for both the issue creation and for the lookup/close operation.

I'd love to contribute a PR if you'd be open to a fix for this.

@fieldsfarmer
Copy link

@jnewland Have you tested your code? I patched your PR and created a action fieldsfarmer/create-an-issue@v0.0.3 but it did not work

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 a pull request may close this issue.

2 participants