[Next]: Natasha 的 【动态方法使用率】 相关功能建议搜集 #39
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: Block User By Label | |
on: | |
#push: | |
# branches: | |
# - 'main' | |
# paths: | |
# - '.github/workflows/block_user.yml' | |
issues: | |
types: | |
- labeled | |
concurrency: block-${{ github.ref }} | |
env: | |
OWNER_NAME: ${{ github.repository_owner }} | |
REPO_NAME: ${{ github.event.repository.name }} | |
GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | |
WORKER_NAME: USER_BLOCK | |
jobs: | |
block_user: | |
runs-on: ubuntu-latest | |
if: github.event.label.name == 'aaa-block-user' | |
steps: | |
- uses: actions/checkout@v4 | |
#- name: 🔨 Setup .NET 6.X SDK | |
# uses: actions/setup-dotnet@v3 | |
# with: | |
# dotnet-version: '6.x' | |
- name: ☠️ Block User | |
run: dotnet test './test/workflow/Workflow.Runner' --nologo -c Release | |