Lumirant's Blog #603
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
# Issue 创建时自动放置到工作台 “待审核” 列,并标记“待处理”标签 | |
name: 【Open】Label and move to project on issue open | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
move-to-project: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Move to project | |
uses: alex-page/[email protected] | |
with: | |
project: "工作台" | |
column: "待审核" | |
repo-token: ${{ secrets.GHPROJECT_TOKEN }} | |
label-issue: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- name: Label issue | |
uses: andymckay/labeler@master | |
with: | |
add-labels: "待处理" | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |