hashicorp / terraform-provider-kubernetes

Terraform Kubernetes provider
https://www.terraform.io/docs/providers/kubernetes/
Mozilla Public License 2.0
1.56k stars 963 forks source link

add `oncall_review_assigner` step into `issue-opened.yml` workflow #2513

Closed BBBmau closed 2 weeks ago

BBBmau commented 3 weeks ago

Description

This PR is for adding a new job into our issue/pr triaging workflow where it assigns the opened issue/PR to the appropriate bug on duty (based off the response from the pagerduty api)

References

Community Note

BBBmau commented 2 weeks ago

A run of this new GHA step can be seen here where its ran as its own GHA workflow: https://github.com/BBBmau/terraform-provider-kubernetes/actions/runs/9511028659/job/26216497155

It should be noted that it doesn't assign the on-duty the issue due to them not being a collaborator of the fork.

reviewer assigned can be done in a separate PR since me and @sheneska ran into some permission issues. Works fine with issue assigning.

BBBmau commented 2 weeks ago

Marking as Ready for Review now that PAGERDUTY_TOKEN is added as part of the repo environment variables