resolving PR refs in snapshot release action (#4744)
This commit is contained in:
parent
150cd8a582
commit
fa89c71e98
1 changed files with 7 additions and 1 deletions
8
.github/workflows/snapshot-release.yml
vendored
8
.github/workflows/snapshot-release.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue