Skip to content

Commit

Permalink
chore: use GH PAT for in cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
leggetter authored Apr 15, 2024
1 parent 381e49a commit 43f024c
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/ts-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,18 @@ jobs:
# run: |
# fern generate --group node-sdk --version ${{ inputs.version }} --log-level debug

- uses: actions/checkout@v4
with:
# Repository name with owner. For example, actions/checkout
# Default: ${{ github.repository }}
repository: 'hookdeck/hookdeck-typescript-sdk.git'
path: 'hookdeck-typescript-sdk'
ref: 'main'
token: ${{ secrets.GH_ACCESS_TOKEN }}
# - uses: actions/checkout@v4
# with:
# # Repository name with owner. For example, actions/checkout
# # Default: ${{ github.repository }}
# repository: 'hookdeck/hookdeck-typescript-sdk.git'
# path: 'hookdeck-typescript-sdk'
# ref: 'main'
# token: ${{ secrets.GH_ACCESS_TOKEN }}

- name: Clone hookdeck-typescript-sdk for JSR
run: |
git clone https://${{ secrets.GH_ACCESS_TOKEN }}:@github.com/hookdeck/hookdeck-typescript-sdk.git
- name: Update jsr.json version
uses: jossef/[email protected]
Expand Down

0 comments on commit 43f024c

Please sign in to comment.