Skip to content

v5.0

v5.0 #394

Workflow file for this run

name: Issue Handle
on:
issues:
types: [opened, closed]
jobs:
issue-open-waiting-for-confirm:
name: Issue Open Waiting Confirm
if: github.event.action == 'opened' && !contains(fromJSON('["ForteScarlet", "ForliyScarlet"]'), github.event.sender.login)
runs-on: ubuntu-latest
steps:
# https://github.com/marketplace/actions/simple-issue-labeler
- name: Issue Labeler For Waiting Confirm
uses: andymckay/[email protected]
with:
add-labels: "等待确认"
repo-token: ${{ secrets.FORLIY_ACCESS_TOKEN }}
issue-close-remove-waiting-label:
name: Issue Close remove Waiting Label
if: github.event.action == 'closed'
runs-on: ubuntu-latest
steps:
# https://github.com/marketplace/actions/simple-issue-labeler
- name: Issue Labeler For Waiting Confirm
uses: andymckay/[email protected]
with:
remove-labels: "等待确认, 等待反馈"
repo-token: ${{ secrets.FORLIY_ACCESS_TOKEN }}