Closed jorisroovers closed 1 year ago
When using github.rest.issues.createComment, context.issue.number does not work when the notify job is triggered by a push to the 'main' branch event.
Instead, we manually extract the PR number using the gh CLI.
coverage: 99.662%. remained the same when pulling 5fda95a67d2049ef1208dd795468d8934a74244a on pr-number-extract into de7f8e2e7412be44f731e637d83bc3f51206c93a on main.
When using github.rest.issues.createComment, context.issue.number does not work when the notify job is triggered by a push to the 'main' branch event.
Instead, we manually extract the PR number using the gh CLI.