Skip to content

Commit d4e63b2

Browse files
authored
fix: format to json (#173)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 551c671 commit d4e63b2

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/reusable-change-detection.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
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

1212
jobs:
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
@@ -54,6 +56,6 @@ jobs:
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

Comments
 (0)