From 5e986552b90f888c796e8eed867f42b914ea317f Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Wed, 5 Jul 2023 11:30:46 +0800 Subject: [PATCH] Update develop_ci.yml --- .github/workflows/develop_ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/develop_ci.yml b/.github/workflows/develop_ci.yml index 8bdf6d15..a9813c53 100644 --- a/.github/workflows/develop_ci.yml +++ b/.github/workflows/develop_ci.yml @@ -10,6 +10,12 @@ jobs: runs-on: ubuntu-latest steps: + - name: Initialize Git repository + run: git init + + - name: Add remote repository + run: git remote add origin https://github.com/${{ github.actor }}/${{ github.repository }}.git + - name: Get pull request number id: pr run: echo "::set-output name=number::$(jq --raw-output .pull_request.number $GITHUB_EVENT_PATH)"