diff --git a/.asf.yaml b/.asf.yaml index 4e674ffe1b4..a0ba9155a55 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -46,7 +46,4 @@ github: collaborators: - acs-robot - #protected_branches: - # main: - # required_pull_request_reviews: - # required_approving_review_count: 2 + protected_branches: ~ diff --git a/.github/workflows/merge-conflict-checker.yml b/.github/workflows/merge-conflict-checker.yml index 3f47c630932..363eaba0979 100644 --- a/.github/workflows/merge-conflict-checker.yml +++ b/.github/workflows/merge-conflict-checker.yml @@ -18,12 +18,8 @@ name: "Check Pull Requests Conflict" on: push: - branches: - - main - pull_request: + pull_request_target: types: [synchronize] - branches: - - main jobs: triage: @@ -36,4 +32,4 @@ jobs: dirtyLabel: "status:has-conflicts" removeOnDirtyLabel: "status:ready-for-review" continueOnMissingPermissions: true - commentOnDirty: "Hi @${author}, your pull request has merge conflicts. Can you fix the conflicts and sync your branch with the base branch?" + commentOnDirty: "Hi @${{ github.event.pull_request.user.login }}, your pull request has merge conflicts. Can you fix the conflicts and sync your branch with the base branch?"