chore(deps): bump hono from 4.11.4 to 4.12.7 #75
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
| # Z-Image - PR Labeler | |
| # | |
| # Automatically labels PRs based on changed files | |
| name: Labeler | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| label: | |
| name: Label PR | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Label PR based on files | |
| uses: actions/labeler@v6 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| configuration-path: .github/labeler.yml | |
| - name: Label PR based on title | |
| uses: actions/github-script@v8 | |
| with: | |
| script: | | |
| const title = context.payload.pull_request.title; | |
| const labels = []; | |
| // Type labels based on conventional commit prefix | |
| if (title.startsWith('feat')) labels.push('enhancement'); | |
| if (title.startsWith('fix')) labels.push('bug'); | |
| if (title.startsWith('docs')) labels.push('documentation'); | |
| if (title.startsWith('test')) labels.push('testing'); | |
| if (title.startsWith('refactor')) labels.push('refactor'); | |
| if (title.startsWith('chore')) labels.push('chore'); | |
| if (title.startsWith('perf')) labels.push('performance'); | |
| if (labels.length > 0) { | |
| await github.rest.issues.addLabels({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.issue.number, | |
| labels: labels | |
| }); | |
| } |