From 6765c7a716ccd9456ec7d6eeff70aa889b8a7aaa Mon Sep 17 00:00:00 2001 From: Fanny Jiang Date: Fri, 29 Dec 2023 16:13:00 -0500 Subject: [PATCH] fix --- .github/workflows/release-community-pr.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-community-pr.yml b/.github/workflows/release-community-pr.yml index 67714ff3c..3ee329a2c 100644 --- a/.github/workflows/release-community-pr.yml +++ b/.github/workflows/release-community-pr.yml @@ -9,7 +9,6 @@ jobs: # outputs: # version: ${{ steps.set-version.outputs.version }} env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} VERSION: ${${{ github.ref_name }}:1:5} # use version from release branch name COMMUNITY_BRANCH_NAME: ${{ github.actor }}/datadog-operator-${{ github.ref_name }} steps: @@ -25,8 +24,8 @@ jobs: private-key: ${{secrets.GH_APP_PRIVATE_KEY}} repositories: "datadog-operator,community-operators" - name: sync fork -# env: -# GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + env: + GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} run: | git checkout -b $COMMUNITY_BRANCH_NAME gh repo sync DataDog/community-operators --branch $COMMUNITY_BRANCH_NAME \