dcsil / CSC491

University of Toronto's Capstone Design Course
https://csc491.dcsil.ca
GNU General Public License v3.0
2 stars 0 forks source link

Some workflows have no defined timeouts or are not using self-hosted #63

Closed dcsil-team-app[bot] closed 2 years ago

dcsil-team-app[bot] commented 2 years ago

This repo has workflows that have no defined timeouts and/or are not using self-hosted.

We use self hosted runners to avoid overage costs associated with GitHub Actions. However, we don't have a lot of workers to handle all of the load. To ensure a single build doesn't spend hours and monopolize our workers, we limit each job to 20 minutes. Please add a timeout to your jobs. We will disable your actions until you add them.

Your build may also be missing self-hosted in the runs-on field.

Docs: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes Example:

jobs:
  build:
    runs-on: self-hosted # This is required
    timeout-minutes: 20 # Add this line here

Affected Workflows:

Workflow Path Job Re-enable
.github/workflows/rubrics.yml build https://github.com/dcsil/CSC491/actions/workflows/rubrics.yml
.github/workflows/pdf.yml build https://github.com/dcsil/CSC491/actions/workflows/pdf.yml