Merge branch 'develop' into fix-7311

This commit is contained in:
syuilo 2024-04-08 22:41:42 +09:00 committed by GitHub
commit 991cbf5db4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 5 deletions

View File

@ -50,12 +50,9 @@ jobs:
- name: Get PR ref - name: Get PR ref
id: get-ref id: get-ref
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
PR_NUMBER=$(jq --raw-output .issue.number $GITHUB_EVENT_PATH) PR_REF="refs/pull/${{ github.event.issue.number }}/head"
PR_REF=$(gh pr view $PR_NUMBER --json headRefName -q '.headRefName') echo "pr-ref=$PR_REF" >> $GITHUB_OUTPUT
echo "pr-ref=$PR_REF" > $GITHUB_OUTPUT
- name: Extract wait time - name: Extract wait time
id: get-wait-time id: get-wait-time