diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a9c835e797..11aff3fd51 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,7 +38,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.ref }} - repository: ${{ github.event.pull_request.head.repo.full_name }} + repository: 'yoshi-code-bot/google-api-python-client' env: GITHUB_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} @@ -46,7 +46,7 @@ jobs: run: gh repo sync $REPOSITORY -b $BRANCH_NAME env: GITHUB_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} - REPOSITORY: ${{ github.event.pull_request.head.repo.full_name }} + REPOSITORY: 'yoshi-code-bot/google-api-python-client' BRANCH_NAME: ${{ github.ref_name }}