Giter VIP home page Giter VIP logo

reusable-workflows's Introduction

Reusable Workflows for Developing Actions

This repository contains reusable workflows that are useful for developing actions.

Background

These workflows are used for the development lifecycles of the GitHub-provided actions in the github/actions org. We also provide them here to use in actions that you create!

Available workflows

This workflow compiles and tests the code in the repo. It also checks that it passes linting and formatting rules. Optionally, it can run npm audit on the packages in the repo.

Usage

basic-validation-call:
  uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main

This workflow ensures that the generated contents of the dist directory match what they are expected to be. For actions that follow our TypeScript or JavaScript templates, dist contains the packaged script that is executed by the runner. Whenever you update the source code, the dist files must be regenerated for the changes to take effect.

Usage

check-dist-call:
  uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main

This workflow uses GitHub's code scanning feature to analyze a repository for vulnerabilities, bugs, and other errors. This workflow uses github/codeql-action to run code scanning.

Usage

codeql-analysis-call:
  uses: actions/reusable-workflows/.github/workflows/codeql-analysis.yml@main

This workflow helps to check the statuses of cached dependencies used in action with the help of the Licensed tool.

Usage

licensed-call:
  uses: actions/reusable-workflows/.github/workflows/licensed.yml@main

This workflow helps to keep configuration files for such tools as ESLint and Prettier up to date with the reference configuration files from the actions/reusable-workflows repository. Once the reference configuration files are changed in the reference folder, the workflow will automatically create PR with updates in the repo where it's launched.

Usage

update-config-files-call:
  uses: actions/reusable-workflows/.github/workflows/update-config-files.yml@main

Adjusting reusable workflows

If the default behaviour of a reusable workflow isn't what you need, you can adjust it using the workflow's inputs. Check the available inputs of reusable workflows in the corresponding YAML file in .github/workflows/<reusable-workflow-name>.yml.

Example of disabling auditing of NPM packages in the basic-validation workflow:

basic-validation-call:
  uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
  with:
    enable-audit: false

License

The scripts and documentation in this project are released under the MIT License

Contributing

Contributions are welcome! See Contributor's Guide

Maintainers

See CODEOWNERS.

Support

See SUPPORT.md.

reusable-workflows's People

Contributors

brcrista avatar harithavattikuti avatar ivanzosimov avatar kbdharun avatar nikolai-laevskii avatar samvantran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.