Skip to content

Commit

Permalink
Update permissions and event value
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Oct 4, 2021
1 parent 45741b0 commit 0850939
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/review-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: Require approval before merging SDK change
on:
pull_request_target:
types: [opened, ready_for_review]

permissions:
contents: write
issues: write
pull-requests: write
jobs:
Expand Down Expand Up @@ -37,7 +35,7 @@ jobs:
run: |
gh api graphql -f query='
mutation($review: ID!) {
submitPullRequestReview(input: {pullRequestReviewId: $review, event: "REQUEST_CHANGES", body: "This PR changes the .NET SDK version. Review required from @dotnet/roslyn-infrastructure before merging."}) {
submitPullRequestReview(input: {pullRequestReviewId: $review, event: REQUEST_CHANGES, body: "This PR changes the .NET SDK version. Review required from @dotnet/roslyn-infrastructure before merging."}) {
clientMutationId
}
}' -f review=$REVIEW_ID

0 comments on commit 0850939

Please sign in to comment.