Skip to content

fix(instr-mongodb): fix instr to no longer break mongodb >=6.4.0 #2010

fix(instr-mongodb): fix instr to no longer break mongodb >=6.4.0

fix(instr-mongodb): fix instr to no longer break mongodb >=6.4.0 #2010

Workflow file for this run

name: "Issue Labeler"
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
env:
MY_GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }}
permissions:
contents: read
jobs:
triage:
runs-on: ubuntu-latest
steps:
- name: Add agent-nodejs label to this issue/PR
uses: AlexanderWert/issue-labeler@v2.3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler-config.yml
enable-versioned-regex: 0
permissions:

Check failure on line 23 in .github/workflows/labeler.yml

View workflow run for this annotation

GitHub Actions / Issue Labeler

Invalid workflow file

The workflow is not valid. .github/workflows/labeler.yml (Line: 23, Col: 7): Unexpected value 'permissions' .github/workflows/labeler.yml (Line: 48, Col: 7): Unexpected value 'permissions'
issues: write
pull-requests: write
- name: Check team membership for user
uses: elastic/get-user-teams-membership@1.1.0
id: checkUserMember
with:
username: ${{ github.actor }}
team: 'apm'
usernamesToExclude: |
apmmachine
dependabot
dependabot[bot]
GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }}
- name: Show team membership
run: |
echo "::debug::isTeamMember: ${{ steps.checkUserMember.outputs.isTeamMember }}"
echo "::debug::isExcluded: ${{ steps.checkUserMember.outputs.isExcluded }}"
- name: Add community and triage labels
if: steps.checkUserMember.outputs.isTeamMember != 'true' && steps.checkUserMember.outputs.isExcluded != 'true'
uses: AlexanderWert/issue-labeler@v2.3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/community-label.yml
enable-versioned-regex: 0
permissions:
issues: write
pull-requests: write
- name: Assign new internal pull requests to project
uses: elastic/assign-one-project-github-action@1.2.2
if: (steps.checkUserMember.outputs.isTeamMember == 'true' || steps.checkUserMember.outputs.isExcluded == 'true') && github.event.pull_request
with:
project: 'https://github.com/orgs/elastic/projects/454'
project_id: '5882982'
column_name: 'In Progress'