Skip to content

Commit

Permalink
add comments to 'find-changes' job
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesclark-Zapata committed Apr 23, 2024
1 parent 09c0c32 commit 4467194
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/all-pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
workflow_dispatch:
jobs:
# This job checks for the changed paths
# We take the `changes` output of the `filter-paths` step, and use it
# as the `packages` output of the `find-changes` job.
# This output is a list of the packages that should be tested. See the
# description of the `key` in the `filter-paths` step for more information.
# Example output:
# packages: ["projects/orquestra-sdk"]
find-changes:
name: Get changed packages
runs-on: ubuntu-latest
Expand All @@ -14,6 +20,11 @@ jobs:
outputs:
packages: ${{ steps.filter-paths.outputs.changes }}
steps:
# This step takes `(key, value)` pairs as the `filters` input.
# The `key`, by convention in this repository, is the path to the project
# that we're checking to see is modified.
# The `value` is a list of paths that will cause this project's tests to
# be executed.
- uses: dorny/paths-filter@v3
id: filter-paths
with:
Expand Down

0 comments on commit 4467194

Please sign in to comment.