You've now added a fully functioning workflow to your repository! 😄
All the running and finished workflows can be seen on the Actions tab of your repository.
Because you set the workflow to run on the pull_request event, it will automatically trigger when a pull request is opened.
Tip
Workflow associated to pull request can also be seen on the pull request log near the merge button. You can even create a rule that prevents merging if the workflow fails!
-
In the Pull requests tab, create a pull request from
welcome-workflowbranch intomain. -
Notice the comment that the workflow adds to the pull request.
-
Notice the area near the merge button that "All checks have passed".
-
With the pull request created and our workflow triggered, Mona will prepare the next step in this exercise!
-
At the top of the repository, select the Actions tab.
-
In the left sidebar, select the workflow named Post welcome comment.
💡 Tip: You can ignore the other actions. Those were for teaching this exercise.
-
Click the first run entry titled Welcome workflow to show a diagram of the run's jobs.
-
Click on the job named Post welcome comment to see the full logs.
Having trouble? 🤷
- Check the Actions tab for workflow run details and errors.