diff --git a/.github/workflows/auto-reply.yml b/.github/workflows/auto-reply.yml new file mode 100644 index 0000000..5089dec --- /dev/null +++ b/.github/workflows/auto-reply.yml @@ -0,0 +1,35 @@ +name: πŸ€– Auto-Reply to Issues + +on: + issues: + types: [opened] + +permissions: + issues: write + +jobs: + auto-comment: + runs-on: ubuntu-latest + + steps: + - name: Comment on new issue + uses: actions/github-script@v7 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + const issueNumber = context.issue.number; + const username = context.payload.issue.user.login; + const comment = [ + `πŸ‘‹ Hello @${username}, thank you for opening an issue!`, + ``, + `I will get back to you as soon as i can. - 1501henify`, + ``, + `We appreciate your input β€” Have a great day/night!` + ].join('\n'); + + await github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: issueNumber, + body: comment + }); diff --git a/README.md b/README.md index 0a9a3a6..8fcb4a2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 🐍 Henry’s Python Learning Journey -## πŸ“… Progress +## πŸ“… My Progress <<<<<<< HEAD ```diff @@ -15,7 +15,7 @@ Each one is a small step toward becoming a full-stack developer. --- ## πŸ“† Day Counter -✨ **Day 8 of Learning Python** ✨ +✨ **Day 9 of Learning Python** ✨ πŸ“„ Total lines of code: 1280 @@ -23,7 +23,7 @@ Each one is a small step toward becoming a full-stack developer. -πŸ•’ Last updated: 2025-09-20 00:59 UTC +πŸ•’ Last updated: 2025-09-20 21:38 UTC