Skip to content

Commit

Permalink
Fix logic for getting maintainer ids for benchmark workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Rishabh Singh <[email protected]>
  • Loading branch information
rishabh6788 committed Aug 13, 2024
1 parent 6e27e5a commit d18a8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
echo "prHeadRefSha=$headRefSha" >> $GITHUB_ENV
- id: get_approvers
run: |
echo "approvers=$(cat .github/CODEOWNERS | grep '^\*' | tr -d '* ' | sed 's/@/,/g' | sed 's/,//1')" >> $GITHUB_OUTPUT
echo "approvers=$(cat .github/CODEOWNERS | grep '^/MAINTAINERS.md' | sed 's/^\/MAINTAINERS.md @//g' | tr -d '@' | tr ' ' ',' | tr -d '\n')" >> $GITHUB_OUTPUT
- uses: trstringer/manual-approval@v1
if: (!contains(steps.get_approvers.outputs.approvers, github.event.comment.user.login))
with:
Expand Down

0 comments on commit d18a8ff

Please sign in to comment.