77 value : ${{ jobs.change-detection.outputs.run-cookie || false }}
88 run-rr :
99 description : Whether or not run the repo-review tests
10- value : ${{ jobs.change-detection.outputs.run-cookie || false }}
10+ value : ${{ jobs.change-detection.outputs.run-rr || false }}
1111
1212jobs :
1313 change-detection :
@@ -20,11 +20,12 @@ jobs:
2020 steps :
2121 - uses : actions/checkout@v3
2222
23- - name : Get a list of the changed runtime -related files
23+ - name : Changed cookie -related files
2424 if : github.event_name == 'pull_request'
2525 id : changed-cookie-files
2626 uses : Ana06/get-changed-files@v2.2.0
2727 with :
28+ format : " json"
2829 filter : |
2930 {{cookiecutter.project_name}}/**
3031 .github/workflows/ci.yml
@@ -35,15 +36,16 @@ jobs:
3536 - name : Set a flag for running the tests
3637 if : >-
3738 github.event_name != 'pull_request' ||
38- steps.changed-cookie-files.outputs.added_modified_renamed != ''
39+ steps.changed-cookie-files.outputs.added_modified_renamed != '[] '
3940 id : cookie-changes
4041 run : echo "run-cookie=true" >> "${GITHUB_OUTPUT}"
4142
42- - name : Get a list of the changed runtime -related files
43+ - name : Changed sp-repo-review -related files
4344 if : github.event_name == 'pull_request'
4445 id : changed-rr-files
4546 uses : Ana06/get-changed-files@v2.2.0
4647 with :
48+ format : " json"
4749 filter : |
4850 tests/**
4951 .github/workflows/ci.yml
5456 - name : Set a flag for running the tests
5557 if : >-
5658 github.event_name != 'pull_request' ||
57- steps.changed-rr-files.outputs.added_modified_renamed != ''
59+ steps.changed-rr-files.outputs.added_modified_renamed != '[] '
5860 id : rr-changes
5961 run : echo "run-rr=true" >> "${GITHUB_OUTPUT}"
0 commit comments