summaryrefslogtreecommitdiff
path: root/.github/workflows/deploy-test-environment.yml
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2024-06-01 11:27:03 +0900
committerGitHub <noreply@github.com>2024-06-01 11:27:03 +0900
commitfce66b85b603caac79e1bfa87b5f4621b1ba9d4e (patch)
treed22952ee3f8e30057977a99a33823f4d52990fbc /.github/workflows/deploy-test-environment.yml
parentMerge pull request #13493 from misskey-dev/develop (diff)
parentfix(backend): use insertOne insteadof insert/findOneOrFail combination (#13908) (diff)
downloadsharkey-fce66b85b603caac79e1bfa87b5f4621b1ba9d4e.tar.gz
sharkey-fce66b85b603caac79e1bfa87b5f4621b1ba9d4e.tar.bz2
sharkey-fce66b85b603caac79e1bfa87b5f4621b1ba9d4e.zip
Merge pull request #13917 from misskey-dev/develop
Release 2024.5.0 (master)
Diffstat (limited to '.github/workflows/deploy-test-environment.yml')
-rw-r--r--.github/workflows/deploy-test-environment.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/deploy-test-environment.yml b/.github/workflows/deploy-test-environment.yml
index 77cdcfaf88..66b15beb91 100644
--- a/.github/workflows/deploy-test-environment.yml
+++ b/.github/workflows/deploy-test-environment.yml
@@ -50,12 +50,9 @@ jobs:
- name: Get PR ref
id: get-ref
- env:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
- PR_NUMBER=$(jq --raw-output .issue.number $GITHUB_EVENT_PATH)
- PR_REF=$(gh pr view $PR_NUMBER --json headRefName -q '.headRefName')
- echo "pr-ref=$PR_REF" > $GITHUB_OUTPUT
+ PR_REF="refs/pull/${{ github.event.issue.number }}/head"
+ echo "pr-ref=$PR_REF" >> $GITHUB_OUTPUT
- name: Extract wait time
id: get-wait-time