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

[BUG] AxiosError: Request failed with status code 401 #190

Open
tiavina-mika opened this issue Jun 20, 2024 · 0 comments
Open

[BUG] AxiosError: Request failed with status code 401 #190

tiavina-mika opened this issue Jun 20, 2024 · 0 comments

Comments

@tiavina-mika
Copy link

Describe the bug
I have this error in my action and the profile README does not display the cards

Expected behavior
The cards should be displayed
Screenshots
image

Error when creating ProfileDetailsCard 
AxiosError: Request failed with status code 401

image

Additional context
Here is the profile-summary-cards.yml file

name: GitHub-Profile-Summary-Cards

on:
  schedule: # execute every 24 hours
    - cron: "* */24 * * *"
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    name: generate-github-profile-summary-cards
    permissions:
      contents: write

    steps:
      - uses: actions/checkout@v4
      - uses: vn7n24fzkq/github-profile-summary-cards@release
        env: # default use ${{ secrets.SUMMARY_GITHUB_TOKEN }}, you should replace with your personal access token
          GITHUB_TOKEN: ${{ secrets.SUMMARY_GITHUB_TOKEN }}
        with:
          USERNAME: ${{ github.repository_owner }}
          # BRANCH_NAME is optional, default to main, branch name to push cards
          BRANCH_NAME: "main"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant