Open github-learning-lab[bot] opened 3 years ago
🎉 You've created this issue comment using GitHub Script!!!
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!
Submit new issue
buttonI am waiting for you to open a new issue before moving on.
I'll respond in your new issue once you've opened it
Super awesome job @Zeno-Ta! 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!
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!
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/Zeno-Ta/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/Zeno-Ta/write-github-script/edit/main/.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 [main branch protection](https://github.com/Zeno-Ta/write-github-script/settings/branches) and merge your changes into the `main` branch.I'll respond here once it has completed!