resolving PR refs in snapshot release action (#4744)

This commit is contained in:
Tony Sullivan 2022-09-13 20:48:39 +00:00 committed by GitHub
parent 150cd8a582
commit fa89c71e98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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