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

YAML file mistakenly taken as XML format #26

@tojo17

Description

@tojo17

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions