fix(gh: www): cd before getting pr number

This commit is contained in:
actionless 2022-06-26 21:46:56 +02:00
parent 711482888c
commit 759e83fb7f
1 changed files with 3 additions and 1 deletions

View File

@ -110,7 +110,9 @@ jobs:
- name: Get Pull Request Number - name: Get Pull Request Number
id: pr 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: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}