打开qq设置会闪退 #152
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 Triage | |
on: | |
issues: | |
types: | |
- opened | |
- edited | |
- reopened | |
jobs: | |
triage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Check Issue Content | |
id: check_issue | |
run: | | |
if [[ "${{ github.event.issue.body }}" == *"- [x] Bug 反馈"* ]] && [[ "${{ github.event.issue.body }}" == *"!["* ]]; then | |
echo "::set-output name=priority::true" | |
else | |
echo "::set-output name=priority::false" | |
fi | |
- name: Label Issue as Priority | |
if: steps.check_issue.outputs.priority == 'true' | |
uses: actions-ecosystem/action-add-labels@v1 | |
with: | |
github_token: ${{ secrets.AC_TOKEN }} | |
labels: 'priority' |