Skip to content

Errors in "Manage and debug workflows in GitHub Actions" unit #380

Description

@Swkratis210204

Which of the MS Learn modules from the dropdown are you submitting an update request?

Build continuous integration (CI) workflows by using GitHub Actions

Content URL

https://learn.microsoft.com/en-us/training/modules/github-actions-ci/

Additional information

  • Fix a broken user experience (broken links, exercise error, etc.)
  • Update incorrect information
  • Add new content to the module
  • Some other request

Information about the requested update

Unit: Manage and debug workflows in GitHub Actions

1. Wrong event name

Section "Automate reviews in GitHub by using workflows" says:

you can trigger on pull-request-review

The correct event name is pull_request_review (underscores). pull-request-review will not work in a workflow.

2. Invalid YAML in example

Section "Identify the trigger event" contains:

-name: Show event trigger

It is missing a space after the dash. It should be:

- name: Show event trigger

3. Misleading statement about labels triggering workflows

The unit says:

Adding a label might be an event that starts another workflow, such as a merge.

In the example, the label is added by an action using GITHUB_TOKEN. Events created with GITHUB_TOKEN do not start new workflow runs (except workflow_dispatch and repository_dispatch). Suggest adding a note that a personal access token or GitHub App token is needed if the label should trigger another workflow.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions