Abnormal script interaction #961
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: Close issues with insufficient info | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
labelCheck: | |
if: >- | |
github.event.issue.user.id != 10654537 && github.event.issue.user.id != 12360257 && | |
join(github.event.issue.labels) == '' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Close Issue | |
uses: peter-evans/close-issue@v3 | |
with: | |
comment: | | |
It seems like you have not used one of the issue templates when creating this issue. | |
Please go back to [this page](https://github.com/Fate-Grand-Automata/FGA/issues/new/choose) and create a new issue. | |
This action was performed automatically. | |
- name: Lock Issue | |
uses: OSDKDev/lock-issues@v1.1 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Label Issue | |
uses: actions-ecosystem/action-add-labels@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
labels: insufficient info |