Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
keenangraham committed Aug 21, 2024
1 parent cbafae0 commit 931a517
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/clientbuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,24 @@ jobs:
owner: "IGVF-DACC"
repositories: "igvf-client-openapi-spec,igvf-python-client,igvf-async-python-client,igvf-r-client"

- name: Get GitHub App User ID
id: get-user-id
run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
- run: |
git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>'
- run: |
git clone https://${{ steps.generate-token.outputs.token }}@github.com/IGVF-DACC/igvf-python-client.git
git add .
git commit -m "Auto-generated changes"
git push
- name: Use the token
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
git clone https://${{ steps.generate-token.outputs.token }}@github.com/IGVF-DACC/igvf-python-client.git
git clone https://github.com/IGVF-DACC/igvf-client-openapi-spec.git
ls
ls igvf-python-client/

0 comments on commit 931a517

Please sign in to comment.