fix(gh: www): cd before getting pr number
This commit is contained in:
parent
711482888c
commit
759e83fb7f
|
@ -110,7 +110,9 @@ jobs:
|
|||
|
||||
- name: Get Pull Request Number
|
||||
id: pr
|
||||
run: echo "::set-output name=pull_request_number::$(gh pr view --json number -q .number || echo "")"
|
||||
run: |
|
||||
cd "${{ github.workspace }}"
|
||||
echo "::set-output name=pull_request_number::$(gh pr view --json number -q .number || echo "")"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue