File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 40
40
41
41
- name : Get changed files in the .changeset folder
42
42
id : changed-files
43
- uses : tj-actions/changed-files@v42
43
+ uses : tj-actions/changed-files@v44
44
44
if : steps.blocked.outputs.result != 'true'
45
45
with :
46
46
files : |
@@ -49,12 +49,14 @@ jobs:
49
49
- name : Check if any changesets contain minor or major changes
50
50
id : check
51
51
if : steps.blocked.outputs.result != 'true'
52
+ env :
53
+ ALL_CHANGED_FILES : ${{ steps.changed-files.outputs.all_changed_files }}
52
54
run : |
53
55
echo "Checking for changesets marked as minor or major"
54
56
echo "found=false" >> $GITHUB_OUTPUT
55
57
56
58
regex="[\"']astro[\"']: (minor|major)"
57
- for file in ${{ steps.changed-files.outputs.all_changed_files } }; do
59
+ for file in ${ALL_CHANGED_FILES }; do
58
60
if [[ $(cat $file) =~ $regex ]]; then
59
61
version="${BASH_REMATCH[1]}"
60
62
echo "version=$version" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments