From 5554aaa68a53950b94a742c4956fa548114b761f Mon Sep 17 00:00:00 2001 From: Fanny Jiang Date: Tue, 2 Jan 2024 16:31:36 -0500 Subject: [PATCH] test --- .github/workflows/release-community-pr.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-community-pr.yml b/.github/workflows/release-community-pr.yml index 07cf3396f..aff5d60c5 100644 --- a/.github/workflows/release-community-pr.yml +++ b/.github/workflows/release-community-pr.yml @@ -34,9 +34,11 @@ jobs: - name: sync fork env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{secrets.GH_ROBOT_TOKEN}} run: | - gh repo sync DataDog/community-operators --branch release \ + git checkout -b $COMMUNITY_BRANCH_NAME + git push -f --set-upstream origin $COMMUNITY_BRANCH_NAME + gh repo sync DataDog/community-operators --branch $COMMUNITY_BRANCH_NAME \ --source k8s-operatorhub/community-operators \ --force @@ -69,7 +71,7 @@ jobs: git push -f --set-upstream origin $COMMUNITY_BRANCH_NAME gh pr create --title "$message" \ --body "$body" \ - --repo k8s-operatorhub/community-operators \ + --repo DataDog/community-operators \ --base main \ --draft