瀏覽代碼

analysis.yml: fix missing output

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Álvaro Brey 2 年之前
父節點
當前提交
3b9ae12de3
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .github/workflows/analysis.yml

+ 2 - 0
.github/workflows/analysis.yml

@@ -21,10 +21,12 @@ jobs:
                         # push
                         echo "::set-output name=branch::$GITHUB_REF_NAME"
                         echo "::set-output name=pr::$GITHUB_RUN_ID"
+                        echo "::set-output name=repo::${{ github.repository }}"
                     else
                         # pull request
                         echo "::set-output name=branch::$GITHUB_HEAD_REF"
                         echo "::set-output name=pr::${{ github.event.pull_request.number }}"
+                        echo "::set-output name=repo::${{ github.event.pull_request.head.repo.full_name }}"
                     fi
             -   uses: actions/checkout@v3
                 with: