Skip to content

Commit

Permalink
github-action: use elastic/oblt-actions/github/is-member-of (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Sep 26, 2024
1 parent e409bff commit 6652d68
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ jobs:
labels: ["agent-java"]
})
- id: is_elastic_member
uses: elastic/apm-pipeline-library/.github/actions/is-member-elastic-org@current
uses: elastic/oblt-actions/github/is-member-of@v1
with:
username: ${{ github.actor }}
token: ${{ secrets.APM_TECH_USER_TOKEN }}
github-org: "elastic"
github-user: ${{ github.actor }}
github-token: ${{ secrets.APM_TECH_USER_TOKEN }}
- name: Add community and triage lables
if: contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]' && github.actor != 'elastic-renovate-prod[bot]'
uses: actions/github-script@v7
Expand Down

0 comments on commit 6652d68

Please sign in to comment.