A GitHub action to return the list of changed stdlib packages in a push or pull request.
# 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@v3
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 ), ' ' ) }}GITHUB_TOKEN(string) required: GitHub personal access token withreposcope.
packages(array of strings): List of changed stdlib packages.
See LICENSE.
Copyright © 2021-2025. The Stdlib Authors.