From 7287abc88385260e82147715e268960a6e1e4a48 Mon Sep 17 00:00:00 2001 From: Alok Gupta Date: Tue, 21 May 2024 14:08:30 +0530 Subject: [PATCH] Feature: Added Issue-yml (#693) --- .github/workflows/issue.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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 000000000..e1f1e9f72 --- /dev/null +++ b/.github/workflows/issue.yml @@ -0,0 +1,29 @@ +name: Issue Workflow + +on: + issues: + types: ['opened'] + +jobs: + Issue-Labeler: + name: Adding Label to issue + runs-on: ubuntu-latest + steps: + - uses: Renato66/auto-label@v2.3.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + ignore-comments: true + default-labels: '["Status: Triage"]' + + Issue-Greeting: + name: Greeting Message to User + runs-on: ubuntu-latest + steps: + - name: Greeting Message to User + uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: | + Welcome to the [JSON Schema](https://json-schema.org/) Community. We are so excited you are here! Thanks a lot for reporting your first issue!! 🎉🎉 Please make sure to take a look to our [contributors guide](https://github.com/json-schema-org/website/blob/main/CONTRIBUTING.md) if you plan on opening a pull request. + For more details check out [README.md](https://github.com/json-schema-org/website?tab=readme-ov-file#-welcome-to-the-json-schema-website) file. + \ No newline at end of file