diff options
| author | Srgr0 <66754887+Srgr0@users.noreply.github.com> | 2024-04-08 22:41:26 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-08 22:41:26 +0900 |
| commit | b322f55c8791493da9788313fd3df9d52f1327ef (patch) | |
| tree | 8072877610191c453d8f9ca34850720811a26f17 /.github/workflows | |
| parent | enhance(frontend): better condition for posting and displaying Notes (#13670) (diff) | |
| download | sharkey-b322f55c8791493da9788313fd3df9d52f1327ef.tar.gz sharkey-b322f55c8791493da9788313fd3df9d52f1327ef.tar.bz2 sharkey-b322f55c8791493da9788313fd3df9d52f1327ef.zip | |
dev: fix misskey-tga (#13312)
* Update deploy-test-environment.yml
* Update deploy-test-environment.yml
* use github.repository
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com>
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/deploy-test-environment.yml | 7 |
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 |