We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 445a3fe commit 655e68eCopy full SHA for 655e68e
src/index.ts
@@ -25,9 +25,9 @@ async function run() {
25
});
26
}
27
28
-// Do not run if this node module is required by another action such as
29
-// run-tests.
30
-if (!(require.main === module)) {
+// Only run this action if it is invoked directly. Do not run if this node
+// module is required by another action such as run-tests.
+if (require.main === module) {
31
run().catch((e) => {
32
core.setFailed(e);
33
0 commit comments