diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 676a24ce2ba..f0b1bacefcf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Set branch name id: vars - run: echo ::set-output name=branch::${{ github.ref == 'refs/heads/gd' && 'gd' || 'master' }} + run: echo ::set-output name=branch::${{ github.repository_owner == 'Guovin' && 'gd' || 'master' }} - uses: actions/checkout@v3 with: ref: ${{ steps.vars.outputs.branch }}