Skip to content

Update Wix to v5

Update Wix to v5 #364

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@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.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"