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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsuccessful run #51

Closed
ghost opened this issue Feb 15, 2023 · 2 comments
Closed

Unsuccessful run #51

ghost opened this issue Feb 15, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 15, 2023

Hi!

First of all, I don't know if it is indeed a bug, I believe it is indeed a mistake on my part, but I don't know which one (lol). I'll put the error that occurred here, I hope you can help me 馃槄. See below:

remote: Permission to mthsBelloni/mthsBelloni.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/mthsBelloni/mthsBelloni/': The requested URL returned error: 403
Error: Process completed with exit code 128.

And here is the code of the "profile-3d.yml" file:

name: GitHub-Profile-3D-Contrib

on:
  schedule: # 15:00 BRT == 18:00 UTC
    - cron: "0 18 * * *"
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    name: generate-github-profile-3d-contrib
    steps:
      - uses: actions/checkout@v3
      - uses: yoshi389111/github-profile-3d-contrib@0.7.1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          USERNAME: ${{ github.repository_owner }}
      - name: Commit & Push
        run: |
          git config user.name github-actions
          git config user.email github-actions@github.com
          git add -A .
          git commit -m "generated"
          git push
@yoshi389111
Copy link
Owner

Hello mthsBelloni.

It looks like your token doesn't have write permissions.

Can you please try again after adding permissions to the token from the repository settings screen?

(1) Select the settings menu of the repository

image

(2) Click Actions then General

image

(3) Set Workflow permissions at the bottom to Read and write permissions

image

@ghost
Copy link
Author

ghost commented Feb 16, 2023

Dude, it worked!

Thanks for the help and the project, thanks to you, my profile looks good, lol! 馃榿馃

@ghost ghost closed this as completed Feb 16, 2023
This issue was closed.
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