有没有方法可以获取指定位置的边 #2700
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
# Github action for automatically adding label or setting assignee when a new | |
# Issue or PR is opened. https://github.com/marketplace/actions/issue-labeler | |
name: 🏷️ Label(Title and Body) | |
on: | |
issues: | |
types: [opened] | |
pull_request_target: | |
types: [opened] | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: wow-actions/use-app-token@v2 | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.PRIVATE_KEY }} | |
- uses: Naturalclar/[email protected] | |
with: | |
title-or-body: title | |
github-token: ${{ env.BOT_TOKEN }} | |
parameters: > | |
[ | |
{ | |
"keywords": ["bug", "error"], | |
"labels": ["bug"] | |
}, | |
{ | |
"keywords": ["help", "guidance"], | |
"labels": ["help-wanted"] | |
} | |
] |