fix: restore by ops crash when tls is enable #8361
Workflow file for this run
This file contains hidden or 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: Pull Request Check | |
| on: | |
| pull_request_target: | |
| types: [ edited, opened ] | |
| branches: | |
| - main | |
| - release-* | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
| jobs: | |
| pr-check: | |
| name: PR Pre-Check | |
| if: ${{ github.event.pull_request.head.repo.full_name == github.repository && !(startsWith(github.head_ref, 'releasing-') && startsWith(github.base_ref, 'release-')) }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: check branch name | |
| uses: apecloud-inc/check-branch-name@v0.1.0 | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| with: | |
| branch_pattern: 'feature/|bugfix/|release/|hotfix/|support/|releasing/|dependabot/' | |
| comment_for_invalid_branch_name: 'This branch name is not following the standards: feature/|bugfix/|release/|hotfix/|support/|releasing/|dependabot/' | |
| fail_if_invalid_branch_name: 'true' | |
| ignore_branch_pattern: 'main|master' | |
| - name: check PR title | |
| uses: amannn/action-semantic-pull-request@v5 | |
| - uses: actions/checkout@v4 | |
| - name: check issue link | |
| env: | |
| PR_TITLE: ${{github.event.pull_request.title}} | |
| run: | | |
| bash ${{ github.workspace }}/.github/utils/issue_link.sh \ | |
| ${{ github.repository }} \ | |
| ${{ github.repository_owner }} \ | |
| ${{ github.event.pull_request.number }} \ | |
| "${PR_TITLE}" |