diff options
author | 2022-09-13 20:48:39 +0000 | |
---|---|---|
committer | 2022-09-13 20:48:39 +0000 | |
commit | fa89c71e98bf8e512996bed308ea95c441ec087d (patch) | |
tree | c70da8237630d57450ec7e52f002e6d19f3835ed | |
parent | 150cd8a582c70a394ad53282ef041152c2d5a9d3 (diff) | |
download | astro-fa89c71e98bf8e512996bed308ea95c441ec087d.tar.gz astro-fa89c71e98bf8e512996bed308ea95c441ec087d.tar.zst astro-fa89c71e98bf8e512996bed308ea95c441ec087d.zip |
resolving PR refs in snapshot release action (#4744)
-rw-r--r-- | .github/workflows/snapshot-release.yml | 8 |
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 |