Skip to content

ijlee2/inspect-workflow-runs

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This project uses GitHub Actions for continuous integration.

inspect-workflow-runs

Make a data-driven decision for setting timeout-minutes for jobs in a GitHub Actions workflow.

Installation

  1. Clone and install the repo.

    git clone git@github.com:ijlee2/inspect-workflow-runs.git
    cd inspect-workflow-runs
    
    yarn install
  2. Rename .env-sample to .env. In the file, set a GitHub personal access token that has the correct read permission (e.g. repo:public_repo for public repos).

    GITHUB_PERSONAL_ACCESS_TOKEN=secret123
    

How to run

  1. In index.js, specify the workflow you'd like to inspect. Save the file.

    const workflow = new Workflow({
      repoOwner: 'ijlee2',
      repoName: 'ember-container-query',
      workflowFileName: 'ci.yml'
    });
  2. Run the script.

    yarn start

Contributing

Due to lack of time, I won't be accepting issues and pull requests at the moment.

If you found this repo helpful in maintaining your workflow, you can star this project! 🌟

About

Make a data-driven decision for setting timeout-minutes for jobs in a GitHub Actions workflow.

Topics

Resources

Stars

Watchers

Forks