Skip to content

Commit

Permalink
Update localazy_download.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Nov 10, 2023
1 parent 00089ad commit d073c66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/localazy_download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ jobs:
PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }}

- name: Approve if no en_EN changes
run: gh pr review --approve "$PR_NUMBER"
run: |
REVIEWERS=$(gh pr view "$PR_NUMBER" --json reviewRequests -q '[.reviewRequests[] | select(.__typename | contains("User")).login] | join(",")')
gh pr edit --remove-reviewer "$REVIEWERS" "$PR_NUMBER"
gh pr review --approve "$PR_NUMBER"
if: |
steps.cpr.outputs.pull-request-operation == 'created' &&
!contains(steps.changed_files.outputs.files, '/en_EN.json')
Expand Down

0 comments on commit d073c66

Please sign in to comment.