Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

YAML file mistakenly taken as XML format #26

Open
tojo17 opened this issue Apr 19, 2021 · 0 comments
Open

YAML file mistakenly taken as XML format #26

tojo17 opened this issue Apr 19, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@tojo17
Copy link

tojo17 commented Apr 19, 2021

I created an YAML file with some html context as value, and the file is mastakenly taken as XML file by the workflow.

It looks that some thing wrong in xmlDomUtility.js

test.yml

foo:
  bar:
    test: "<div>some html context in yaml file</div>"

.github/workflows/test.yml

name: 'Test Workflow'

on:
  push:
    branches:
      - master

jobs:
  deploy:
    runs-on: ubuntu-20.04
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: replace secrets in yaml config
        uses: microsoft/variable-substitution@v1
        with:
          files: 'test.yml'
        env:
          foo.bar.test: ${{ secrets.ATESTSTRING }}

Output:
image

It would be greatly appreciated if it can be fixed. Thanks!

@BALAGA-GAYATRI BALAGA-GAYATRI added the bug Something isn't working label Jun 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants