Skip to content

Commit

Permalink
chore(gh): switch to bash for the changeset... (#2422)
Browse files Browse the repository at this point in the history
* chore(gh): switch to bash for the changeset verify step

Signed-off-by: Nick Boldt <[email protected]>

* .

Signed-off-by: Nick Boldt <[email protected]>

---------

Signed-off-by: Nick Boldt <[email protected]>
  • Loading branch information
nickboldt authored Oct 22, 2024
1 parent 55e53b0 commit 2d9282f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,14 @@ jobs:
yarn install
- name: Verify changesets
if: ${{ !startsWith(github.ref_name, 'changeset-release/') }}
run: |
yarn changeset status --since=${{ github.event.pull_request.base.sha }}
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
- name: Test packages
uses: ./.github/actions/test
with:
Expand Down

0 comments on commit 2d9282f

Please sign in to comment.