Coder Social home page Coder Social logo

musthafasm / reusable-workflows Goto Github PK

View Code? Open in Web Editor NEW

This project forked from inpsyde/reusable-workflows

0.0 0.0 0.0 322 KB

Reusable workflows for common GitHub Actions jobs.

License: GNU General Public License v2.0

JavaScript 100.00%

reusable-workflows's Introduction

Inpsyde Reusable Workflows

Introduction to GitHub Actions

With GitHub Actions, you can create custom workflows for the software development lifecycle directly in your GitHub repository. These workflows consist of different tasks, called actions, that can be executed automatically when certain events occur.

At Inpsyde, we use GitHub Actions for a wide range of tasks. From various quality assurance tests (e.g. static analysis checks, PHPUnit tests, etc.), to asset (pre)compilation with Composer Asset Compiler, release generation, deployments (CI/CD), and container registry management: all automatable, recurring tasks are performed in GitHub Actions.

About reusable workflows

To avoid code duplication of GitHub Actions workflow files across thousands of repositories, we utilize reusable workflows. This allows us to DRY (don't repeat yourself) configurations, so we don't have to copy and paste workflows from one repository to another.

Calling reusable workflows

In the calling workflow file, use the uses property to specify the location and version of a reusable workflow file to run as a job.

name: {Job name}
on:
  pull_request:
jobs:
  {topic}-{workflow}:
    uses: inpsyde/reusable-workflows/.github/workflows/{topic}-{workflow}.yml@main

Please note that the individual workflows have different (optional) parameters that you can pass either as inputs or secrets. To learn more, consult the documentation of the individual workflow groups here:

reusable-workflows's People

Contributors

chrico avatar tyrann0us avatar dependabot[bot] avatar gmazzap avatar shvlv avatar widoz avatar dottxado avatar kashalo avatar luislard avatar biont avatar alexp11223 avatar strangerkir avatar tfrommen 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.