Skip to content

Commit

Permalink
fix: fix api url
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonhyejin committed Sep 25, 2024
1 parent 0bbba7b commit 870d453
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/contributor-card.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
formatted_username=$(echo "${{ github.event.pull_request.user.login }}" | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
echo "FORMATTED_USERNAME=$formatted_username" >> $GITHUB_ENV
- name: Download Contributor Image
run: |
curl -L "https://datahub-contributor-cards.vercel.app/api/og?userId=${{ github.event.pull_request.user.login }}" --output downloaded_image.png
if: github.event_name == 'pull_request' # Only runs for pull requests


- name: Create Comment (PR only)
if: github.event_name == 'pull_request' # Only runs for pull requests
uses: actions/github-script@v6
Expand Down

0 comments on commit 870d453

Please sign in to comment.