Skip to content

Exceptions are not automatically collected to Errors Inbox in gRPC servers #380

Exceptions are not automatically collected to Errors Inbox in gRPC servers

Exceptions are not automatically collected to Errors Inbox in gRPC servers #380

name: Set Community Label
on:
issues:
types: [opened]
permissions:
contents: read
jobs:
set-community-label:
name: Set Community Label
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
disable-sudo: true
egress-policy: audit
- name: Check if organization member
id: is_organization_member
if: github.event.action == 'opened'
uses: jamessingleton/is-organization-member@fb5924a6287762ee5fc71bf9e95a60842af5528d # 1.0.1
with:
organization: newrelic
username: ${{ github.event.issue.user.login }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set Community Label If Needed
if: ${{steps.is_organization_member.outputs.result == 'false'}}
uses: andymckay/labeler@3a4296e9dcdf9576b0456050db78cfd34853f260 # master
with:
add-labels: "community"