Skip to content

Commit 587d0c2

Browse files
ematipicoPeterDraex
authored andcommitted
ci: update check-merge.yml action (withastro#10690)
1 parent f1a9132 commit 587d0c2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/check-merge.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
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

0 commit comments

Comments
 (0)