[enhancement] 自动更新功能 #80
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: 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/[email protected] | |
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/[email protected] | |
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/[email protected] | |
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 |