fix: baidu_qianfan error #4947 #3092
Workflow file for this run
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
# Warning, do not check out untrusted code with | |
# the pull_request_target event. | |
name: Label PRs with Conventional Commits | |
on: | |
pull_request_target: | |
types: [opened, edited, synchronize] | |
jobs: | |
validate-pr: | |
name: Validate PR | |
runs-on: ubuntu-latest | |
steps: | |
- name: Validate the pull request | |
id: validate | |
uses: Namchee/[email protected] | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
issue: false | |
label: | |
needs: validate-pr | |
name: Label PR | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request.user.type != 'Bot'}} | |
steps: | |
- uses: bcoe/conventional-release-labels@v1 | |
with: | |
type_labels: '{"feat": "enhancement","fix": "bug","docs": "documentation","style": "style","refactor": "refactor","perf": "performance","test": "test","chore": "chore","build": "build"}' |