Skip to content

Run the Autograding workflow from the terminal #1

@lakruzz

Description

@lakruzz

The GitHub Action workflows live in the .gitghub/workflows folder - seen from the root of the repository.

Inside this folder, you can have one or more workflows - each workflow is a YAML file (.yml) which declares what it going to happen on which events.

The repositories from the two previous exercises: "Social Coding" and "Bin Bash and the whole Shebang" both contained a workflow in that .github/workflows folder. It was the autograding job for GitHub Classroom: classroom.yml.

  • Browse to the file .github/worflows/classroom.yml in one (any) of your previous repositories and copy the content of the file as a code-snippets highlighted as yaml into the comments of this issue.
  • Make notes (...to yourselves) in the comments to this issue:
  • What triggers this particular workflow?
  • Which other types of triggers does GitHub Actions support (leave a link to some useful documentation)
  • What is going on in this step below? You can probably guess it - but if you should actually know - where would you then find the documentation on actions/checkout? Throw a link in the comments!
steps:
- uses: actions/checkout@v2
  • What would it require to execute the workflow manually from a terminal on your own PC (not a CodeSpace). Make your notes on this issue.
  • Also consider: What would you do - if any dependencies (like the GitHub Cli) also must be installed using a CLI?
💡 HINTS: Discuss it in the group before you reach for help!

Optional:

Work together - as a team - to get this setup to work on every team member's PC

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions