Skip to content

Commit

Permalink
ci: check mock changesets
Browse files Browse the repository at this point in the history
  • Loading branch information
shairez committed Jul 28, 2024
1 parent b386e7b commit 6dab320
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion .mock_changesets/bla.md

This file was deleted.

0 comments on commit 6dab320

Please sign in to comment.