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

Put compilation's and tests' logs in PR comment task fails with Bad credentials message #2402

Open
cz4rs opened this issue Feb 21, 2025 · 1 comment
Assignees

Comments

@cz4rs
Copy link
Contributor

cz4rs commented Feb 21, 2025

Describe the bug
Comments containing build status and error messages no longer appear in PRs. The task fails with:

{
  "message": "Bad credentials",
  "documentation_url": "[https://docs.github.com/rest",](https://docs.github.com/rest%22,)
  "status": "401"
}

https://dev.azure.com/DARMA-tasking/DARMA/_build/results?buildId=64290&view=logs&j=3dc8fd7e-4368-5a92-293e-d53cefc8c4b3&t=6b239e51-959e-51db-79a2-5791ce04c3c0

@cz4rs cz4rs self-assigned this Feb 24, 2025
@cz4rs
Copy link
Contributor Author

cz4rs commented Feb 24, 2025

comment-on-pr workflow uses GITHUB_TOKEN for authentication:
.github/workflows/comment-on-pr.yml:21: github_token: ${{ secrets.GITHUB_TOKEN }}

Requires more investigation since this cannot be explained with an expired token 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant