Skip to content

RushJS Identify Changed Projects Helper

Actions
Github action for detecting changed projects using rush change files
v1.0.7
Latest
Star (4)

Rush Changed Projects Action

JavaScript Style Guide javscript-action status Quality Gate Status


Used to in combination with rush change files to detect changes.

Usage

Pre-requisites


This action requires rush version 5.47.0 or newer.

Inputs


exclude-dependant-projects

Determines whether to exclude projects that depend on projects identified via rush change. A boolean value of true or false.

By default this is set to false and dependant projects are included.

version-policy

Filters the projects using given version policy.

By default all the changed projects will be included.

working-directory

Specify the root directory for the rush configuration

By default repository root will be considered.

Outputs


changed-projects

A list of the changed projects. Contains the rush.json packageName of each project.

Example


# .github/workflows/rush.yml
name: Rush Changed Projects
on:
  push:
    branches:
      - main

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Code
        uses: actions/checkout@v2
      - name: Rush Install
        uses: advancedcsg-open/actions-rush
      - name: Rush Changed Projects
        uses: advancedcsg-open/actions-rush-changed-projects
        id: rush-changed-projects
      - name: Display Changes
        run: |
          for PACKAGE in $(echo ${{ steps.rush-changed-projects.outputs.changed-projects}} | jq -r .[])
            do
              echo $PACKAGE
            done

License

actions-rush-changed-projects is licensed under the MIT License. See the LICENSE file for more info.

FOSSA Status

RushJS Identify Changed Projects Helper is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Github action for detecting changed projects using rush change files
v1.0.7
Latest

RushJS Identify Changed Projects Helper is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.