From e515100f8c71fdcafdca35449523f49d2475b6b8 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Thu, 22 Sep 2022 16:36:28 -0400 Subject: [PATCH] list files --- .github/workflows/block-merge.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/block-merge.yml b/.github/workflows/block-merge.yml index 7e7e28ace..71a3a1b36 100644 --- a/.github/workflows/block-merge.yml +++ b/.github/workflows/block-merge.yml @@ -24,6 +24,15 @@ jobs: files: | .changeset/**/*.md + - name: Check if any changesets contain minor changes + run: | + echo "Listing changed files..." + for file in ${{ steps.changed-files.outputs.all_changed_files }}; do + echo "$file was changed" + if grep -q "'astro': minor" "$file"; then + # Some Actions + fi + done - name: Send PR review run: | # approve the pull request