Fix changeset action access to ref branch (#3978)

Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
Ernesto García
2023-01-19 13:36:54 -06:00
committed by GitHub
parent c8b466b7b5
commit dc1ffa79e7

View File

@ -20,7 +20,9 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ignore-changeset') }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Include history so Changesets finds merge-base
- name: Set up environment
uses: ./.github/actions/setup
- name: Check changeset
run: npx changeset status --since=${{ github.base_ref }}
run: npx changeset status --since=origin/${{ github.base_ref }}