layer5labs/meshmap-snapshot

Workflow failure due to `/` used in relative application path

leecalcote opened this issue · 4 comments

Describe the bug

[Invalid workflow file: .github/workflows/meshmap.yml#L46](https://github.com/meshery/meshery/actions/runs/7255261582/workflow)
The workflow is not valid. .github/workflows/meshmap.yml (Line: 46, Col: 21): Unexpected symbol: '/tree/master/install/deployment_yamls/k8s'. Located at position 26 within expression: inputs.fileName == '' && /tree/master/install/deployment_yamls/k8s || inputs.fileName

Example - https://github.com/meshery/meshery/actions/runs/7255261582/workflow

This needs to be fixed not in the workflow, but in the configuration wizard / action.

As a temp fix, I removed the /, however, this needs fixed in the action / in the configuration flow.

Also, the configuration wizard forces the user to allow the bot to auto create and commit the meshmap.yaml workflow and doesn't allow them to create the workflow themselves.

@leecalcote Sir, I think this issue has been addressed. Here is the corrected solution.

Thanks for this, @RipulHandoo