Skip to content

Test run fails with panic: runtime error: invalid memory address or nil pointer dereference with an wrong Tracing Backend #527

Test run fails with panic: runtime error: invalid memory address or nil pointer dereference with an wrong Tracing Backend

Test run fails with panic: runtime error: invalid memory address or nil pointer dereference with an wrong Tracing Backend #527

# Label PRs and issues created by users that are not part
# of the tracetest team.
on:
issues:
types:
- opened
permissions:
id-token: write
contents: read
issues: write
pull-requests: write
jobs:
notify_slack:
name: Label user request
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Load team members
id: load_team_members
run:
echo "team_members=$(cat .github/TEAM_MEMBERS.txt | tr '\n' ',')" >> $GITHUB_OUTPUT
- name: Check if it's team member
id: is_team_member
if: github.event.action == 'opened'
uses: mathnogueira/[email protected]
with:
blocked_users: ${{ steps.load_team_members.outputs.team_members }}
- name: Label issue
if: |
steps.is_team_member.outputs.result == 'false'
uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['user-request']
})