Skip to content

prevent false 'unsatisfied' dependency status #1927

prevent false 'unsatisfied' dependency status

prevent false 'unsatisfied' dependency status #1927

name: Label community issues and pr
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
permissions:
issues: write
pull-requests: write
jobs:
Check_contributor_handle:
runs-on: ubuntu-latest
steps:
- name: Label community issue
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # tag v7.0.1
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['community']
})
if: |
github.event.issue.user.login != 'fallwith' && github.event.issue.user.login != 'kaylareopelle' && github.event.issue.user.login != 'tannalynn' && github.event.issue.user.login != 'kford-newrelic' && github.event.issue.user.login != 'elucus' && github.event.issue.user.login != 'hannahramadan' &&
github.event.pull_request.user.login != 'fallwith' && github.event.pull_request.user.login != 'kaylareopelle' && github.event.pull_request.user.login != 'tannalynn' && github.event.pull_request.user.login != 'kford-newrelic' && github.event.pull_request.user.login != 'elucus' && github.event.pull_request.user.login != 'hannahramadan'