Skip to content

Commit

Permalink
[release-1.3] chore(gh): fix changeset version check (#2435)
Browse files Browse the repository at this point in the history
chore(gh): fix changeset version check

Signed-off-by: Paul Schultz <[email protected]>
Co-authored-by: Paul Schultz <[email protected]>
  • Loading branch information
openshift-cherrypick-robot and schultzp2020 authored Oct 23, 2024
1 parent 1650b05 commit 067a744
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 --frozen-lockfile
- 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 067a744

Please sign in to comment.