Skip to content

[enhancement] 自动更新功能 #23

[enhancement] 自动更新功能

[enhancement] 自动更新功能 #23

name: 'Closed issue labeler'
on:
issues:
types: [closed]
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-add-labels@v1
if: ${{ contains(github.event.issue.labels.*.name, 'bug') || contains(github.event.issue.labels.*.name, 'enhancement') }}
with:
github_token: ${{ secrets.BOT_TOKEN }}
labels: Solved
- 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