cdklabs / cdklabs/cdk-pipelines-github

[Bug?] Build step throws error requesting that the updated workflow file be committed despite this already having been done

Open
#374 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
384
Forks
45
Avg merge
1d 1h
Merged PRs (30d)
4

Description

When running my workflow I'm currently receiving the following error:

Screenshot 2022-10-14 at 12 24 26

Prior to this step I changed to the workflows directory shown in the error and ran 'ls' to verify that the deploy.yml file is present, which it is.

Screenshot 2022-10-14 at 12 28 09

Looking at where this error is thrown in pipeline.ts, shown above, this leads me to believe that "this.workflowFile.toYaml()" is somehow different to "readFileSync(this.workflowPath, 'utf8')".

Any idea what the cause of this might be?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.