Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
* @NVIDIA-NeMo/speech_team @NVIDIA-NeMo/automation
27 changes: 2 additions & 25 deletions .github/workflows/claude-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,11 @@ permissions:
id-token: write

jobs:
authorize:
acknowledge:
if: >-
github.event.issue.pull_request &&
contains(github.event.comment.body, '/claude review')
runs-on: ubuntu-latest
steps:
- name: Check team membership
uses: actions/github-script@v7
with:
github-token: ${{ secrets.ORG_TEAM_READ_TOKEN }}
script: |
const username = context.payload.comment.user.login;
try {
const res = await github.rest.teams.getMembershipForUserInOrg({
org: 'NVIDIA-NeMo',
team_slug: 'speech_team',
username,
});
if (res.data.state !== 'active') {
core.setFailed(`${username} is not an active member of NVIDIA Speech Team`);
}
} catch (e) {
core.setFailed(`${username} is not a member of NVIDIA Speech Team`);
}

acknowledge:
needs: authorize
runs-on: ubuntu-latest
steps:
- name: Add eyes reaction to comment
uses: actions/github-script@v7
Expand Down Expand Up @@ -78,4 +55,4 @@ jobs:
It's perfectly acceptable to not have anything to comment on.
If you do not have anything to comment on, post "LGTM".
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
Loading