Skip to content

Commit

Permalink
allow changeset status to find baseBranch
Browse files Browse the repository at this point in the history
  • Loading branch information
lilnasy committed Oct 23, 2023
1 parent 26b77b8 commit 1ceff4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/snapshot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
snapshot-release:
name: Create a snapshot release of a pull request
if: ${{ github.repository_owner == 'withastro' && github.event.issue.pull_request && (contains(github.event.comment.body, '!preview') || contains(github.event.comment.body, '/preview') || contains(github.event.comment.body, '!snapshot') || contains(github.event.comment.body, '/snapshot')) }}
if: ${{ github.repository_owner == 'lilnasy' && github.event.issue.pull_request && (contains(github.event.comment.body, '!preview') || contains(github.event.comment.body, '/preview') || contains(github.event.comment.body, '!snapshot') || contains(github.event.comment.body, '/snapshot')) }}
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -61,6 +61,9 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ steps.refs.outputs.head_ref }}
fetch-depth: 0

- run: git fetch origin main:main

- name: Setup PNPM
uses: pnpm/action-setup@v2
Expand Down

0 comments on commit 1ceff4c

Please sign in to comment.