GithubHelp home page GithubHelp logo

sourcecred / github-workflow-examples Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 4.0 5.33 MB

GitHub action to generate a sourcecred prototype or graphic for your repository

Home Page: https://sourcecred.io/sourcecred-action/timeline/sourcecred/sourcecred-action/

Shell 100.00%
sourcecred github-action scheduled contributors open-source

github-workflow-examples's Introduction

Packages in this repository

This repository is a monorepo, meaning it is set up to contain multiple distinct packages, although for now it only contains one.

Package Name Description Subdirectory with README
sourcecred A monolith package containing the CLI that supports instances, our JS library, and all of our supported platform plugins. link

github-workflow-examples's People

Contributors

vsoch avatar

Stargazers

 avatar

Watchers

 avatar  avatar

github-workflow-examples's Issues

Look into caching of content for GitHub Actions

Per @Beanow comment:

The data volume used, is that discarded every run? If so, for a larger repository it's probably worth looking into caching it.

We might want to cache the content, which would be helpful for a larger repository. This could be implemented in all workflow recipes.

Possible to commit directly?

The action currently creates a PR, would we be able make a variant that commits to master or gh-pages as well?

For context, this is what I do now using a DroneCI daily cron, to build the frontend and widgets.

Edit pull request frequency

Currently, the PRs go out every Sunday, which is way too often as the repository is unlikely to change and I don't want to handle the PRs each week if they aren't necessary. Akin to the automated, I want to update the cron times to only less frequently - since automated is 1/month, the pull request version should be run just once a year (if we even need that)!

Do not push with --allow-empty if there are no changes

Currently, the workflows will still open a pull request or commit if there are no changes to the graphic. Although this is unlikely for an active repository, we should remove the --allow-empty and catch the error and still return success if it's not opened. There might be a better command to do the check, but first I'm just going to try adding || echo "No changes"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.