chore(cargo): bump tokio from 1.41.1 to 1.42.0 #515
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: Label | |
on: | |
pull_request_target: | |
types: [opened, edited] | |
# make sure you have the following labels: | |
# [documentation, enhancement, bug_fix, refactoring, chore] | |
jobs: | |
pr_label: | |
name: PR label | |
permissions: | |
pull-requests: write | |
contents: read | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PR: ${{ github.event.number }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: gh pr edit $PR --remove-label documentation --remove-label enhancement --remove-label bug_fix --remove-label refactoring --remove-label chore | |
- run: gh pr edit $PR --add-label documentation | |
if: ${{ startsWith(github.event.pull_request.title, 'doc') }} | |
- run: gh pr edit $PR --add-label enhancement | |
if: ${{ startsWith(github.event.pull_request.title, 'feat') }} | |
- run: gh pr edit $PR --add-label bug_fix | |
if: ${{ startsWith(github.event.pull_request.title, 'fix') }} | |
- run: gh pr edit $PR --add-label refactoring | |
if: ${{ startsWith(github.event.pull_request.title, 'refact') }} | |
- run: gh pr edit $PR --add-label chore | |
if: ${{ startsWith(github.event.pull_request.title, 'chore') }} | |