Coder Social home page Coder Social logo

actions's Introduction

Actions

A collection of re-usable GitHub actions/workflows. These are licensed under Apache 2.0 license, so feel free to re-use via your own fork.

Actions available

git-config

Configures git redirects so that you can use for example mbed deploy or other tools that require git access to private repositories.

Inputs:

  • github_token : GitHub access token

Usage example:

      - name: Set access token for internal repo access
        uses: PelionIoT/actions/.github/actions/git-config@main
        with:
          github_token: ${{ secrets.ACCESS_TOKEN }}

Especially on self-hosted runners it is important to clean out the .gitconfig file afterwards. Otherwise access token renewals will not have impact.

      - name: Cleanup .gitconfig
        if: always()
        run: rm -f ~/.gitconfig

misspell

Runs the misspell application to spot common spelling mistakes. Exception list (-i argument) can be given. The action assumes the repository has been checked out already.

Inputs:

  • exceptions - list of words (comma separated, no spaces inbetween) to ignore for spelling mistakes. Typical one would be for example mosquitto (referring to Apache Mosquitto).

Usage example:

      - name: Check out code
        uses: actions/checkout@v4
      - name: Misspell
        uses: PelionIoT/actions/.github/actions/misspell@main
        with:
          exceptions: "mosquitto"

actions's People

Contributors

jannekiiskila avatar

Watchers

Ed Hemphill avatar Travis McCollum avatar  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.