Skip to content

Commit bd74ca8

Browse files
committed
use gh outside of the gh repository context
1 parent 7595d1c commit bd74ca8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
"members": "read"
3030
}
3131
- name: Add agent-python label
32-
run: gh issue edit "$NUMBER" --add-label "agent-python"
32+
run: gh issue edit "$NUMBER" --add-label "agent-python" --repo "${{ github.repository }}"
3333
- id: is_elastic_member
3434
uses: elastic/oblt-actions/github/is-member-of@v1
3535
with:
@@ -38,4 +38,4 @@ jobs:
3838
github-token: ${{ steps.get_token.outputs.token }}
3939
- name: Add community and triage labels
4040
if: contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]' && github.actor != 'elastic-observability-automation[bot]'
41-
run: gh issue edit "$NUMBER" --add-label "community,triage"
41+
run: gh issue edit "$NUMBER" --add-label "community,triage" --repo "${{ github.repository }}"

0 commit comments

Comments
 (0)