We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4366aba commit 08afb96Copy full SHA for 08afb96
1 file changed
.github/workflows/test-module-container.yml
@@ -44,6 +44,7 @@ jobs:
44
env:
45
BASE_SHA: ${{ steps.commit-range.outputs.base_sha }}
46
HEAD_SHA: ${{ steps.commit-range.outputs.head_sha }}
47
+ GITHUB_EVENT_NAME: ${{ github.event_name }}
48
run: |
49
node <<'NODE'
50
const fs = require("fs");
@@ -52,6 +53,7 @@ jobs:
52
53
54
const baseSha = process.env.BASE_SHA;
55
const headSha = process.env.HEAD_SHA;
56
+ const eventName = process.env.GITHUB_EVENT_NAME;
57
58
let changedFiles = [];
59
try {
@@ -72,7 +74,9 @@ jobs:
72
74
)
73
75
);
76
- const coreChanged = changedFiles.some((file) => file.startsWith("src/server/core/"));
77
+ const coreChanged =
78
+ eventName === "workflow_dispatch" ||
79
+ changedFiles.some((file) => file.startsWith("src/server/core/"));
80
81
const modulesRoot = path.join("src", "modules");
82
const testableModules = [];
0 commit comments