Skip to content

Rename ActiveJob segments #2315

Rename ActiveJob segments

Rename ActiveJob segments #2315

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@ed597411d8f924073f98dfc5c65a23a2325f34cd # tag v8.0.0
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 != 'newrelic-ruby-agent-bot' && github.event.issue.user.login != 'kaylareopelle' && github.event.issue.user.login != 'tannalynn' && github.event.issue.user.login != 'chynesNR' && github.event.issue.user.login != 'elucus' && github.event.issue.user.login != 'hannahramadan' &&
github.event.pull_request.user.login != 'newrelic-ruby-agent-bot' && github.event.pull_request.user.login != 'kaylareopelle' && github.event.pull_request.user.login != 'tannalynn' && github.event.pull_request.user.login != 'chynesNR' && github.event.pull_request.user.login != 'elucus' && github.event.pull_request.user.login != 'hannahramadan'