【Closed】Label and move to project on issue closed #561
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: 【Closed】Label and move to project on issue closed | |
on: | |
issues: | |
types: [closed] | |
jobs: | |
move-to-done: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: alex-page/[email protected] | |
with: | |
project: "工作台" | |
column: "已完成" | |
repo-token: ${{ secrets.GHPROJECT_TOKEN }} | |
remove-labels: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- name: Remove labels | |
uses: andymckay/labeler@master | |
with: | |
remove-labels: "待处理, 待回应, 处理中" | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |