v5.0 #394
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: 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 }} |