From e7e4cfbd00b4997bb4f85a394f652574aa8aa813 Mon Sep 17 00:00:00 2001 From: Ido Heyvi Date: Thu, 31 Oct 2024 07:49:58 +0200 Subject: [PATCH] updates --- .github/workflows/docs-ci.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docs-ci.yaml b/.github/workflows/docs-ci.yaml index 8c0a267..0e6344b 100644 --- a/.github/workflows/docs-ci.yaml +++ b/.github/workflows/docs-ci.yaml @@ -6,17 +6,17 @@ on: git_tag: type: string description: The git tag (version) from the calling workflow - required: true - token: - type: string + required: false + secrets: + token: description: The github token - required: true + required: false workflow_dispatch: inputs: git_tag: type: string description: The git tag (version) to use for `$TAG` - required: true + required: false jobs: docs-ci: @@ -44,17 +44,16 @@ jobs: done - name: Create PR env: - DOWNSTREAM_REPO_OWNER: nvidia-ci-cd + DOWNSTREAM_REPO_OWNER: heyvister1 DOWNSTREAM_FEATURE_BRANCH: update-docs-for-${{ env.TAG }} - UPSTREAM_REPO_OWNER: Mellanox + UPSTREAM_REPO_OWNER: heyvister1 UPSTREAM_DEFAULT_BRANCH: main COMMIT_MESSAGE: ${{ env.PR_TITLE_PREFIX }} ${{ env.TAG }} run: | - git config user.name nvidia-ci-cd - git config user.email svc-cloud-orch-gh@nvidia.com - gh repo fork --remote --default-branch-only - gh repo sync $DOWNSTREAM_REPO_OWNER/${{ github.event.repository.name }} --source $UPSTREAM_REPO_OWNER/${{ github.event.repository.name }} --branch $UPSTREAM_DEFAULT_BRANCH + git config user.name heyvister1 + git config user.email iheyvi@nvidia.com + git checkout test-netops-docs-workflow git checkout -b $DOWNSTREAM_FEATURE_BRANCH git status git add docs