fix: temporary create a deps folder to have cortex.cpp work #1417
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
name: "Auto Label Conventional Commits" | |
on: | |
pull_request: | |
types: | |
- reopened | |
- opened | |
jobs: | |
label_prs: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Label PRs | |
run: | | |
ISSUE_TITLE=$(gh issue view ${{ github.event.number }} --json title -q ".title") | |
case "$ISSUE_TITLE" in | |
chore:*) LABEL="type: chore" ;; | |
feat:*) LABEL="type: feature request" ;; | |
perf:*) LABEL="type: enhancement" ;; | |
fix:*) LABEL="type: bug" ;; | |
docs:*) LABEL="type: documentation" ;; | |
ci:*) LABEL="type: ci" ;; | |
build:*) LABEL="type: ci" ;; | |
test:*) LABEL="type: chore" ;; | |
style:*) LABEL="type: chore" ;; | |
refactor:*) LABEL="type: chore" ;; | |
*) LABEL="" ;; | |
esac | |
if [ -n "$LABEL" ]; then | |
gh issue edit ${{ github.event.number }} --add-label "$LABEL" | |
fi | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |