sukhdeepsharma / write-github-script

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

It's alive! #8

Closed github-learning-lab[bot] closed 3 years ago

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

Great Job so far!

Like before, now we have to wait for the workflow to run so that we can see the results.

Workflow not running? Click here for some troubleshooting. Try the following troubleshooting steps: 1. Click on the [Actions tab](https://github.com/sukhdeepsharma/write-github-script/actions) to see the status of your workflow run. See [Managing a workflow run](https://help.github.com/en/actions/configuring-and-managing-workflows/managing-a-workflow-run) on GitHub Help for more information. 1. Edit your [workflow file]( https://github.com/sukhdeepsharma/write-github-script/edit/master/.github/workflows/my-workflow.yml) and look for errors in the linter built into the browser. 1. Look for the [workflow trigger](https://help.github.com/en/actions/reference/events-that-trigger-workflows) and ensure you are performing an action that triggers that workflow. If you need to make changes to your code, remove the [master branch protection](https://github.com/sukhdeepsharma/write-github-script/settings/branches) and merge your changes into the `master` branch.

I'll respond here once it has completed!

github-actions[bot] commented 3 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 3 years ago

Another workflow success

Great job yet again!

As you can see, there is now a more comprehensive response to a new issue being opened, and it's based on a template in this repository so it's easy to change in the future. Along with that change, this issue has now been added to the project board so that we can be reminded to triage it for work!

What about all the extra logic?

You're right! We added some expression logic to the workflow that will only add an issue to the project board, if it contains the bug label at the time of creation. Let's see if our logic works as intended!

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

:keyboard: Activity: Create a new issue in this repository

  1. Click here to quickly open a new issue
  2. Give the issue a name of your choosing
  3. Supply the issue with a body
  4. Be sure NOT to include the bug label on this issue
  5. Click the Submit new issue button

I am waiting for you to open a new issue before moving on.

I'll respond in your new issue once you've opened it

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

Whoo hoo 🎉

Super awesome job @sukhdeepsharma! 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 3 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!