File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040
4141 - name : Get changed files in the .changeset folder
4242 id : changed-files
43- uses : tj-actions/changed-files@v42
43+ uses : tj-actions/changed-files@v44
4444 if : steps.blocked.outputs.result != 'true'
4545 with :
4646 files : |
@@ -49,12 +49,14 @@ jobs:
4949 - name : Check if any changesets contain minor or major changes
5050 id : check
5151 if : steps.blocked.outputs.result != 'true'
52+ env :
53+ ALL_CHANGED_FILES : ${{ steps.changed-files.outputs.all_changed_files }}
5254 run : |
5355 echo "Checking for changesets marked as minor or major"
5456 echo "found=false" >> $GITHUB_OUTPUT
5557
5658 regex="[\"']astro[\"']: (minor|major)"
57- for file in ${{ steps.changed-files.outputs.all_changed_files } }; do
59+ for file in ${ALL_CHANGED_FILES }; do
5860 if [[ $(cat $file) =~ $regex ]]; then
5961 version="${BASH_REMATCH[1]}"
6062 echo "version=$version" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments