Skip to content

Commit

Permalink
filter with triage permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Aug 19, 2024
1 parent 287e123 commit e41ebb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/genai-commander.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
username
});
console.log(`Permissions for ${username}:`, permissions.data);
if (!permissions.data.user.permissions.triage)
throw "comment author does not have triage permissions";
- name: resolve pr sha
id: sha
uses: actions/github-script@v4
Expand Down

0 comments on commit e41ebb8

Please sign in to comment.