diff --git a/github/worklows/issue-create-automate-message.yml b/github/worklows/issue-create-automate-message.yml new file mode 100644 index 0000000..bd48f4d --- /dev/null +++ b/github/worklows/issue-create-automate-message.yml @@ -0,0 +1,40 @@ +name: Auto Comment on Issue + +on: + issues: + types: [opened] + +permissions: + issues: write + +jobs: + comment: + runs-on: ubuntu-latest + steps: + - name: Add Comment to Issue + uses: actions/github-script@v6 + with: + script: | + const issueNumber = context.issue.number; + + const commentBody1 = `### Thank you for raising this issue! +We'll review it as soon as possible. We truly appreciate your contributions! ✨ + +> Meanwhile make sure you've visited the README.md, CONTRIBUTING.md, and CODE_OF_CONDUCT.md before creating a PR for this. Also, please do NOT create a PR until this issue has been assigned to you. 😊`; + const commentBody2 = `![TrustTheProcess](https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExbWtoOWpsMnozdXd0MmJxejhiNGwwdjltY3dyNW80NHg2Ym01YTdlMSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/mPKa6OI5oRsmextwBq/giphy.gif)`; + + await github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: issueNumber, + body: commentBody1 + }); + + await github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: issueNumber, + body: commentBody2 + }); + + console.log('Both comments added successfully.'); \ No newline at end of file diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst index 8e8fabc..88dd9c3 100644 --- a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -4,6 +4,7 @@ /workspaces/MyCMD/src/main/java/com/mycmd/commands/CdCommand.java /workspaces/MyCMD/src/main/java/com/mycmd/commands/ClsCommand.java /workspaces/MyCMD/src/main/java/com/mycmd/commands/CopyCommand.java +/workspaces/MyCMD/src/main/java/com/mycmd/commands/DateCommand.java /workspaces/MyCMD/src/main/java/com/mycmd/commands/DelCommand.java /workspaces/MyCMD/src/main/java/com/mycmd/commands/DirCommand.java /workspaces/MyCMD/src/main/java/com/mycmd/commands/EchoCommand.java