From 3ae9d3694099f2b5d300edbe90324ed69c833a00 Mon Sep 17 00:00:00 2001 From: Bryan Florkiewicz Date: Thu, 21 Nov 2024 19:32:33 -0500 Subject: [PATCH] chore: update git remote in ci --- .github/actions/release/action.yml | 4 ++++ .github/workflows/ci.yaml | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/actions/release/action.yml b/.github/actions/release/action.yml index d908cf1b5..298f1011f 100644 --- a/.github/actions/release/action.yml +++ b/.github/actions/release/action.yml @@ -13,6 +13,9 @@ inputs: gh_email: description: 'Github email' required: true + gh_repository: + description: 'Github repository' + required: true runs: using: "composite" steps: @@ -30,6 +33,7 @@ runs: run: | git config user.name "${{ inputs.gh_name }}" git config user.email "${{ inputs.gh_email }}" + git remote set-url origin https://${{ inputs.gh_token }}@github.com/${{ inputs.gh_repository }} - name: Build shell: bash run: npx nx run-many -t build --exclude=demo, diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cb25450a8..50336089a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -133,3 +133,4 @@ jobs: npm_token: ${{ secrets.NPM_TOKEN }} gh_name: ${{ secrets.BOT_NAME }} gh_email: ${{ secrets.BOT_EMAIL }} + gh_repository: ${{ github.repository }}