[BUG]apecloud-mysql: ops-request-controller component mysql call switchover action and check role label failed #2941
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Approve | |
on: | |
issue_comment: | |
types: [created] | |
env: | |
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
jobs: | |
auto-approve: | |
name: Auto Approve | |
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/approve') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Automatic Approve | |
uses: apecloud-inc/auto-approve-action@v4 | |
with: | |
github-token: ${{ env.GITHUB_TOKEN }} | |
pull-request-number: ${{ github.event.issue.number }} |