Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update git remote in ci #2112

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/actions/release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ inputs:
gh_email:
description: 'Github email'
required: true
gh_repository:
description: 'Github repository'
required: true
runs:
using: "composite"
steps:
Expand All @@ -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,
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,4 @@ jobs:
npm_token: ${{ secrets.NPM_TOKEN }}
gh_name: ${{ secrets.BOT_NAME }}
gh_email: ${{ secrets.BOT_EMAIL }}
gh_repository: ${{ github.repository }}
Loading