diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 791a646085a..be8fa124982 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,6 +73,14 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Log removed files using GitHub Script + if: github.ref == 'refs/heads/main' && github.event_name == 'push' + uses: actions/github-script@v6 + with: + script: | + const removedFiles = context.payload.head_commit.removed; + console.log("Removed files:", removedFiles); + - name: Check for removed .mock_changesets files and directory contents id: check_changesets if: github.ref == 'refs/heads/main' && github.event_name == 'push' diff --git a/.mock_changesets/bla.md b/.mock_changesets/bla.md deleted file mode 100644 index 63cd04a52f5..00000000000 --- a/.mock_changesets/bla.md +++ /dev/null @@ -1 +0,0 @@ -Hey \ No newline at end of file