From 3c815ff89757fe727dc99fd0924e368d83f0cbcc Mon Sep 17 00:00:00 2001 From: William Harrison Date: Sat, 18 Feb 2023 07:37:48 +0800 Subject: [PATCH] Create issue.yml --- .github/workflows/issue.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/issue.yml diff --git a/.github/workflows/issue.yml b/.github/workflows/issue.yml new file mode 100644 index 0000000..f5a2897 --- /dev/null +++ b/.github/workflows/issue.yml @@ -0,0 +1,25 @@ +name: Issue + +on: + issues: + types: [opened] + +permissions: + contents: read + +jobs: + comment: + name: Comment + runs-on: ubuntu-latest + + permissions: + issues: write + + steps: + - uses: actions/checkout@v3 + + uses: peter-evans/create-or-update-comment@v2 + with: + body: Thank you for opening an issue, we will respond as soon as possible. + issue-number: ${{ github.event.issue.number }} + token: ${{ secrets.GITHUB_TOKEN }}