Skip to content

Commit

Permalink
Merge pull request #2390 from MicrosoftDocs/main638623411030528786syn…
Browse files Browse the repository at this point in the history
…c_temp

For protected branch, push strategy should use PR and merge to target branch method to work around git push error
  • Loading branch information
learn-build-service-prod[bot] authored Sep 19, 2024
2 parents de3e5df + 59facbb commit e2f4568
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bypass-codeowner-approval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
id: check-author
run: |
echo "Check if PR author is a code owner"
TEAM_MEMBERS=$(curl -s -H "Authorization: token $ACTION_TOKEN_SS" \
https://api.github.com/orgs/MicrosoftDocs/teams/kusto-doc-writers/members)
TEAM_MEMBERS=$(curl -s -H "Authorization: token $ACTION_TOKEN_SS" https://api.github.com/orgs/MicrosoftDocs/teams/kusto-doc-writers/members)
TEAM_MEMBERS="$TEAM_MEMBERS $(curl -s -H \"Authorization: token $ACTION_TOKEN_SS\" https://api.github.com/orgs/MicrosoftDocs/teams/apex-docs-pr-reviewers/members)"
echo "Checking if login in team -- ${{ github.actor }}"
IS_CODEOWNER=false
if echo "$TEAM_MEMBERS" | grep -q "\"login\": \"${{ github.actor }}\""; then
Expand Down

0 comments on commit e2f4568

Please sign in to comment.