Skip to content

Commit

Permalink
chore(gh): fix changeset version check (janus-idp#2433)
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Schultz <pschultz@pobox.com>
  • Loading branch information
schultzp2020 authored and 04kash committed Oct 23, 2024
1 parent 510c7ff commit 6c450b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .changeset/pretty-wombats-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
10 changes: 3 additions & 7 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,10 @@ jobs:
yarn install
- name: Verify changesets
if: ${{ !(github.actor == 'janus-idp[bot]' || github.actor == 'github-actions[bot]') }}
run: |
echo "Working in branch ${{ github.ref_name }}"
if [[ "${{ github.ref_name }}" != *"changeset-release/"* ]]; then
echo "Check changeset status since ${{ github.event.pull_request.base.sha }}"
yarn changeset status --since=${{ github.event.pull_request.base.sha }}
else
echo "Skipped - changeset-release/* PR"
fi
yarn changeset status --since=${{ github.event.pull_request.base.sha }}
- name: Test packages
uses: ./.github/actions/test
with:
Expand Down

0 comments on commit 6c450b8

Please sign in to comment.