[Bug]: 搜索功能在通过键盘的方向键切换数据时,切换到可视区的最后一项数据,继续切换,会导致数据定位错乱 #241
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 Issues | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
if: github.repository == 'web-infra-dev/rspress' | |
steps: | |
- name: Label issues | |
uses: actions/github-script@v7 | |
with: | |
github-token: ${{ secrets.REPO_SCOPED_TOKEN }} | |
script: | | |
const title = context.payload.issue.title | |
if (title.startsWith('Benchmark')) { | |
await github.rest.issues.addLabels({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
issue_number: context.issue.number, | |
labels: ['benchmark'] | |
}) | |
} |