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

CLA bot doesn't work – missing tokens? #26

Closed
Ostrzyciel opened this issue Mar 28, 2024 · 4 comments
Closed

CLA bot doesn't work – missing tokens? #26

Ostrzyciel opened this issue Mar 28, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Ostrzyciel
Copy link
Collaborator

See #24 for an example. After fixing some of the bot's settings so that it didn't crash right away, it does not want to react to my messages to it.

My suspicion is this part:

env:
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  # the below token should have repo scope and must be manually added by you in the repository's secret
  PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}

Were these tokens set up correctly?

See: https://github.com/contributor-assistant/github-action?tab=readme-ov-file#6-adding-personal-access-token-as-a-secret

@Ostrzyciel Ostrzyciel added the bug Something isn't working label Mar 28, 2024
@Kaszanas
Copy link
Owner

I'll verify the bot, it worked on other repositories it could be that it's config is not in the default branch? I'll try to make it work and trigger some checks manually.

@Kaszanas
Copy link
Owner

Okay so here is the deal.

secrets.GITHUB_TOKEN is something that doesn't have to be set I think it is available in context by default.

secrets.PERSONAL_ACCESS_TOKEN is only required when a remote repository holds the signatures.

It seems that this issue is fixed now with main branch containing all of the workflows.

@Kaszanas
Copy link
Owner

Let me know if this fixes it as you would expect @Ostrzyciel

@Kaszanas Kaszanas reopened this Mar 28, 2024
@Ostrzyciel
Copy link
Collaborator Author

Yep, seems to work now. Vielen dank!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants