Used to in combination with rush change
files to detect changes.
This action requires rush version 5.47.0 or newer.
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.
Filters the projects using given version policy.
By default all the changed projects will be included.
Specify the root directory for the rush configuration
By default repository root will be considered.
A list of the changed projects. Contains the rush.json packageName
of each project.
# .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
actions-rush-changed-projects is licensed under the MIT License. See the LICENSE file for more info.