Code Monkey home page Code Monkey logo

littlefs.post-release's Introduction

littlefs post-release scripts

This repo contains the post-release scripts for littlefs. When a release is made in littlefs, @geky-bot will trigger a repository_dispatch event on this repo, running any GitHub workflows registered to the event.

This can be used to automate the process of merging new littlefs releases into dependent repos.

These workflows are ran in a separate repo to make it easier to patch the workflowss without needing to merge every change into the littlefs's default branch. (This also avoid chicken-and-egg problems related to releases updating their own workflows.)

Adding your own workflow

Dependency management can be a pain, so feel free to create a PR to add your own dependency update workflow.

The best place to start would be to copy littlefs-fuse's workflow and use that as a starting point. Separate workflows run independently, so if one workflow fails it doesn't risk halting the whole release process. We can also manually run workflows that are registered to the workflow_dispatch event if you ask nicely.

You can find the documentation to GitHub's workflow syntax here.

In addition, there are a couple of GitHub secrets to help create PRs:

  • BOT_TOKEN - This is a personal access token (PAT) for @geky-bot

    Note that you probably want to use this over GitHub's GITHUB_TOKEN because GITHUB_TOKEN does not trigger other workflows. This has the odd effect of causing CI to not run on any generated PRs.

  • BOT_USER - The bot's GitHub username, i.e. geky-bot

  • BOT_EMAIL - An email to use for Git commits, i.e [email protected] (not a real email)

Workflow statuses

Dependency Workflow Status
littlefs-fuse littlefs-fuse.yml littlefs-fuse

littlefs.post-release's People

Contributors

geky avatar

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.