Chandra-Gowsalya / write-github-script

https://lab.github.com/githubtraining/github-actions:-using-github-script
MIT License
0 stars 0 forks source link

Handling Error using exception #8

Open Chandra-Gowsalya opened 2 years ago

Chandra-Gowsalya commented 2 years ago

Sometimes we can't able to pick out what the error actually is. To avoid confusion, we might add exceptions in code during developing through which we can find what is the error representing us

github-actions[bot] commented 2 years ago

Thank you!

We appreciate your contribution to this project! Please be sure to read the contributing guide to learn how you can help make this project better!

If you've created this issue with the 'bug' label, rest assured that we've added it to backlog for triage.

github-learning-lab[bot] commented 2 years ago

Whoo hoo 🎉

Super awesome job @Chandra-Gowsalya! As you can see, your workflow still commented on this issue, but it did not add it to the project board!

Don't hesitate to experiment with changes to the current workflow to see if what kind of logic you can implement to change the response to an issue based on the conditions that surround your own software development lifecycle!

github-learning-lab[bot] commented 2 years ago

What you learned

As we wrap this course up it's important that we revisit the learning points you encountered along the way.

Things you learned in this course:

That should give you quite the start with incorporating the GitHub Script action into your workflows!


Congratulations on finishing this course. You will receive no further responses from me, however further action taken in this repo could trigger workflow runs, because of this we recommend commenting out the workflow file if you plan to keep this repository for notes!

Chandra-Gowsalya commented 2 years ago

Notes for github script to create comment using action github script proper format comment with correct title creating new issue with lables