Skip to content

Commit

Permalink
Merge pull request #2112 from florkbr/update-gh-action-checkout-to-us…
Browse files Browse the repository at this point in the history
…e-token

chore: update git remote in ci
  • Loading branch information
florkbr authored Nov 22, 2024
2 parents a8df68a + 3ae9d36 commit 6247cd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
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 }}

0 comments on commit 6247cd5

Please sign in to comment.