File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
.github/actions/infrastructure/path-filters Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 35
35
with :
36
36
github-token : ${{ inputs.GITHUB_TOKEN }}
37
37
script : |
38
+ console.log(`Event Name: ${context.eventName}`);
39
+
40
+ // Just say everything changed if this is not a PR
41
+ if (context.eventName !== 'pull_request') {
42
+ console.log('Not a pull request, setting all outputs to true');
43
+ core.setOutput('toolsChanged', true);
44
+ core.setOutput('githubChanged', true);
45
+ core.setOutput('propsChanged', true);
46
+ core.setOutput('testsChanged', true);
47
+ core.setOutput('mainSourceChanged', true);
48
+ core.setOutput('buildModuleChanged', true);
49
+ core.setOutput('source', true);
50
+ return;
51
+ }
52
+
53
+ console.log(`Getting files changed in PR #${context.issue.number}`);
54
+
38
55
// Fetch the list of files changed in the PR
39
56
let files = [];
40
57
let page = 1;
You can’t perform that action at this time.
0 commit comments