oneapi-src / oneDPL

oneAPI DPC++ Library (oneDPL) https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/dpc-library.html
Apache License 2.0
720 stars 114 forks source link

Extend RFC announcement to include discussions #1742

Open timmiesmith opened 1 month ago

timmiesmith commented 1 month ago

The PR updates the action that currently announces PR labeled as RFC to the oneDPL Slack channel to include discussions labeled as RFC as well.

timmiesmith commented 1 month ago

I'm using https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#discussion to identify the keywords needed.

danhoeflinger commented 1 month ago

It looks like the action checks github.event.pull_request.labels.*.name, for RFC, but is this the same variable we should be checking for discussions as well? I assume we need a second check or to modify this one to cover github.event.discussion.labels.*.name (guessing the formulation of this).