summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/snapshot-release.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml
index ade8d24d6..3e2f3828e 100644
--- a/.github/workflows/snapshot-release.yml
+++ b/.github/workflows/snapshot-release.yml
@@ -40,10 +40,16 @@ jobs:
}) || core.setFailed('Invalid comment format. Expected: "!preview <one-word-snapshot-name>"'));
return splitComment[1].trim();
result-encoding: string
+
+ - name: resolve pr refs
+ id: refs
+ uses: eficode/resolve-pr-refs@main
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
with:
- ref: ${{ github.event.inputs.ref }}
+ ref: ${{ steps.refs.outputs.base_ref }}
- name: Setup PNPM
uses: pnpm/action-setup@v2.2.1