Skip to content

Alpine tests do not checkout correct commit #256

@Sebastian-Webster

Description

@Sebastian-Webster

This can be seen here: https://github.com/Sebastian-Webster/mysql-memory-server-nodejs/actions/runs/18710167443/job/53356478262

The log output shows Appending init.sql file with the contents of the file at path provided by options.initSQLFilePath even though the commit that triggered the workflow did not add that log in.

This issue occurs when multiple workflows are queued in short succession like when multiple commits are made quickly. The resolution would be to checkout the commit at the triggering SHA instead of just checkout the branch that caused the workflow to run.

Metadata

Metadata

Labels

LinuxThe issue specifically relates to mysql-memory-server running on Linux platformsbugSomething isn't workingtestsModifies/adds/removes tests

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions