Merge branch 'fix-7311' of https://github.com/kakkokari-gtyih/misskey into fix-7311

This commit is contained in:
kakkokari-gtyih 2024-04-09 14:35:56 +09:00
commit 5b0db2badb
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