Skip to content

Commit

Permalink
added check-changes step in sdk CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
satyajeetkolhapure committed Oct 18, 2024
1 parent 83dc523 commit 716c4fa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v3

- id: check-changes
run: |
if [ -n "$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep '^sdk/')" ]; then
echo "::set-output name=changed::true"
else
echo "::set-output name=changed::false"
fi
- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
Expand Down

0 comments on commit 716c4fa

Please sign in to comment.