Open craig-cazoo opened 1 year ago
This action requires checks
scope for the job and step metrics.
If you are using the default token (i.e., GITHUB_TOKEN
), see https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token.
If you are using your personal token or GitHub App, you may need to explicitly give the permission.
Thanks for the response @int128. But I tried adding read
and write
permissions for checks
but I'm still seeing the same warning and no job metrics are being sent.
Are there any other permissions that I should be adding? I am using the default token but I believe my organisation has restricted access by default.
FYI, Another issue was open about this and after some manual trial and error I've found the necessary permissions. https://github.com/int128/datadog-actions-metrics/issues/614
Hi, I recently started using this action and was able to start sending workflow metrics easily
However, I have ran into an issue when enabling
collect-job-metrics
No job metrics are being sent to datadog and I get the following warning for my workflow:
Here's my workflow:
Do I need to enable some permissions for my github token or have I set up my workflow incorrectly?
Many thanks
Craig