chore(NugetDeprecator): NuGet packages need to be deprecated. #242
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@cba0d00b1fc9a034e1e642ea0f1103c282990604 # v2.5.0 | |
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" | |