Skip to content

[High priority] Use old-style import to fix FOSSA workflows#23

Merged
himynameisdave merged 2 commits intofossas:mainfrom
shubham1172:shubham1172/fix-broken-action
Apr 20, 2022
Merged

[High priority] Use old-style import to fix FOSSA workflows#23
himynameisdave merged 2 commits intofossas:mainfrom
shubham1172:shubham1172/fix-broken-action

Conversation

@shubham1172
Copy link
Contributor

Recently a change was introduced which has impacted repositories using this action via its main branch.

This PR reverts the node: style import to the old way, which is compatible with popular build agents.
Additionally, I ran yarn --frozen-lockfile and yarn build to regenerate ./dist.

Sample action run where it is working: https://github.com/shubham1172/dapr/runs/6061045569?check_suite_focus=true

Closes #22

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
@shubham1172
Copy link
Contributor Author

@Serubin, @liftM can you please have a look at this?

@himynameisdave himynameisdave merged commit f61a4c0 into fossas:main Apr 20, 2022
@himynameisdave
Copy link
Contributor

@shubham1172 thanks for fixing this, it was an oversight on my part. Just going to test these changes before cutting a new release.

@himynameisdave
Copy link
Contributor

@shubham1172 this has been released in https://github.com/fossas/fossa-action/releases/tag/v1.3.0. Thanks again, you're a life saver!

@shubham1172
Copy link
Contributor Author

Thank you for your quick help @himynameisdave! 🥳

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 this pull request may close these issues.

fs undefined reading createWriteStream

2 participants