File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ permissions:
1414jobs :
1515 triage :
1616 runs-on : ubuntu-latest
17+ env :
18+ NUMBER : ${{ github.event.issue.number }}
19+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1720 steps :
1821 - name : Get token
1922 id : get_token
2629 "members": "read"
2730 }
2831 - name : Add agent-python label
29- uses : actions-ecosystem/action-add-labels@v1
30- with :
31- labels : agent-python
32+ run : gh issue edit "$NUMBER" --add-label "agent-python"
3233 - id : is_elastic_member
3334 uses : elastic/oblt-actions/github/is-member-of@v1
3435 with :
3738 github-token : ${{ steps.get_token.outputs.token }}
3839 - name : Add community and triage labels
3940 if : contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]' && github.actor != 'elastic-observability-automation[bot]'
40- uses : actions-ecosystem/action-add-labels@v1
41- with :
42- labels : |
43- community
44- triage
41+ run : gh issue edit "$NUMBER" --add-label "community,triage"
Original file line number Diff line number Diff line change 1212 pre-commit :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v4
16- - uses : actions/setup-python@v5
17- -
uses :
pre-commit/[email protected] 15+ - uses : elastic/oblt-actions/pre-commit@v1
You can’t perform that action at this time.
0 commit comments