Fix changeset action access to ref branch (#3978)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
4
.github/workflows/changeset.yml
vendored
4
.github/workflows/changeset.yml
vendored
@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user