Giter VIP home page Giter VIP logo

changed-packages-action's Introduction

Changed Packages Action

A GitHub action to return the list of changed stdlib packages in a push or pull request.

Example Workflow

# Workflow name:
name: Push Changes to Standalone Repositories

# Workflow triggers:
on:
  push:

# Workflow jobs:
jobs:
  assign:
    # Define the type of virtual host machine on which to run the job:
    runs-on: ubuntu-latest

    # Define the sequence of job steps...
    steps:
      # Retrieve list of changed stdlib packages in a push or pull request:
      - name: 'Retrieve list of changed stdlib packages'
        id: 'changed-packages'
        uses: stdlib-js/changed-packages-action@v2
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

      # Push changes to the standalone package repositories:
      - name: 'Push changes to standalone package repositories'
        run: |
          echo "This is a space-separated printout of the output from the previous step:"   
          echo ${{ join( fromJSON( steps.changed-packages.outputs.packages ), ' ' ) }}

Inputs

  • GITHUB_TOKEN (string) required: GitHub personal access token with repo scope.

Outputs

  • packages (array of strings): List of changed stdlib packages.

License

See LICENSE.

Copyright © 2021-2022. The Stdlib Authors.

changed-packages-action's People

Contributors

planeshifter avatar

Stargazers

 avatar

Watchers

 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.