sentry-github-actions-app icon indicating copy to clipboard operation
sentry-github-actions-app copied to clipboard

Try using workflow runs for the webhooks

Open armenzg opened this issue 3 years ago • 1 comments

We're currently using workflow jobs: image

@asottile-sentry mentions that it is possible to use workflow runs for this app. This was not originally available when the prototype was written.

This could potentially save these extra two calls: https://github.com/getsentry/github-actions-app/blob/09c1a16e717ad750dc3b249ebb214356492c949b/src/github_sdk.py#L43-L44

That could potentially save more than 70% of the execution time: image

armenzg avatar May 24 '22 14:05 armenzg

This may be necessary to avoid having to change permissions for external orgs.

armenzg avatar Jun 02 '22 17:06 armenzg