-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comment and triage with GitHub Script #5
Comments
🎉 You've created this issue comment using GitHub Script!!! |
Let's improve the workflow@OmKiranKar it looks like you workflow has completed! Let's take a look at the results! We should be pretty familiar with the first portion of the workflow, it's the same as the first time it ran, and it just creates a comment whenever a new issue has been created. The second portion may exactly be clear to you, but this issue was added to a project board that is present in this repository. Checkout the projects tab if you want to see that this issue has been added! Multiple stepsOne benefit of using actions is the ability to separate As an added advantage, once we break the current workflow into multiple steps we can apply logic through expressions to them. This will let us create rules around when steps are allowed to run. Ultimately this allows us to optimize our workflow run! Since GitHub Script is simply an action, breaking each unique task into a new step works just fine! We will do this in our next activity! |
Add steps for each actionWe will make the following changes to the current workflow file:
⌨️ Activity: Add newly opened issue to project board
I am waiting for you to create a new pull request before moving on. I'll respond in the pull request you create |
A new pull requestI have created a new pull request where we will continue this lesson. Click the link to meet me over there. |
Great job @OmKiranKar
Now that your updates have been merged and we've triggered the workflow we should see our workflow begin helping us automate the triage of new issues.
Workflow not running? Click here for some troubleshooting.
Try the following troubleshooting steps:
If you need to make changes to your code, remove the main branch protection and merge your changes into the
main
branch.I'll respond once your workflow has completed!
The text was updated successfully, but these errors were encountered: