Skip to content

Commit a9f5c86

Browse files
committed
Revert "[CI] Don't try to run detect changes for large PR"
This reverts commit e95a21a.
1 parent e95a21a commit a9f5c86

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/sycl-detect-changes.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,8 @@ jobs:
1717
outputs:
1818
filters: ${{ steps.result.outputs.result }}
1919
steps:
20-
- name: Set changed_files
21-
id: changed_files
22-
uses: actions/github-script@v7
23-
with:
24-
script: |
25-
console.log("Number of files changed:");
26-
console.log(context.payload.pull_request.changed_files);
27-
return context.payload.pull_request.changed_files ;
28-
2920
- name: Check file changes
3021
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
31-
if: ${{ steps.changed_files.outputs.changed_files }} < 500
3222
id: changes
3323
with:
3424
filters: |
@@ -91,6 +81,8 @@ jobs:
9181
uses: actions/github-script@v7
9282
with:
9383
script: |
84+
console.log("Number of files changed:");
85+
console.log(context.payload.pull_request.changed_files);
9486
if (context.payload.pull_request.changed_files < 500) {
9587
return '${{ steps.changes.outputs.changes }}';
9688
}

0 commit comments

Comments
 (0)