diff --git a/.github/ISSUE_TEMPLATE/workflows/AutoGreeting.yml b/.github/ISSUE_TEMPLATE/workflows/AutoGreeting.yml deleted file mode 100644 index 0de889f..0000000 --- a/.github/ISSUE_TEMPLATE/workflows/AutoGreeting.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Auto Greeting - -on: - issues: - types: [opened] - -permissions: - issues: write - -jobs: - greet: - runs-on: ubuntu-latest - steps: - - name: Add a greeting comment - uses: actions/github-script@v4 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - const issueComment = `Hey @${context.payload.issue.user.login}! πŸ‘‹ \n\n πŸ‘‰ Thanks for opening this issue. We appreciate your contribution and will look into it as soon as possible. \n πŸ‘‰ Don’t forget to star our [Community Page](https://github.com/GameSphere-MultiPlayer/Community-Page) and Follow Us on GitHub \n πŸ‘‰ Make sure you join our [Discord](https://discord.gg/rZb46cCMmK), we have created separate channels for all projects`; - await github.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - body: issueComment - }); diff --git a/.github/ISSUE_TEMPLATE/workflows/auto-label-issues.yml b/.github/ISSUE_TEMPLATE/workflows/auto-label-issues.yml deleted file mode 100644 index 57886de..0000000 --- a/.github/ISSUE_TEMPLATE/workflows/auto-label-issues.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Auto-label on Any Issue - -on: - issues: - types: [opened] - -jobs: - auto-label: - runs-on: ubuntu-latest - steps: - - name: Add labels to any new issue - uses: actions/github-script@v4 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - const labelsToAdd = ["VSoC’24"]; - await github.issues.addLabels({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - labels: labelsToAdd - });