-
Notifications
You must be signed in to change notification settings - Fork 44
40 lines (36 loc) · 1.35 KB
/
labeled-issue-to-project.yml
File metadata and controls
40 lines (36 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: labeled issue to project
on:
issues:
types: [labeled]
jobs:
labeled-issue-to-project:
runs-on: ubuntu-latest
steps:
- name: labeled enhancement issue to project
uses: alex-page/github-project-automation-plus@v0.9.0
if: ${{ contains(github.event.issue.labels.*.name, 'enhancement') }}
with:
project: Distributed Update System 看板
column: 'Android 端需求'
repo-token: '${{ secrets.BOT_TOKEN }}'
- name: labeled Solved issue to project
uses: alex-page/github-project-automation-plus@v0.9.0
if: ${{ contains(github.event.issue.labels.*.name, 'Solved') }}
with:
project: Distributed Update System 看板
column: 'Android 端已完成'
repo-token: '${{ secrets.BOT_TOKEN }}'
- name: labeled bug issue to project
uses: alex-page/github-project-automation-plus@v0.9.0
if: ${{ contains(github.event.issue.labels.*.name, 'bug') }}
with:
project: Distributed Update System 看板
column: 'BUG'
repo-token: '${{ secrets.BOT_TOKEN }}'
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
retain_days: 0
keep_minimum_runs: 2