Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/pr-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ jobs:
- uses: dorny/paths-filter@v3
id: filter
with:
ref: ${{ github.event.workflow_run.head_sha }}
# As this Workflow is triggered by a `workflow_run` event, the filter action
# can't automatically assume we're working with PR data. As such, we need to
# wire it up manually with a base (merge target) and ref (source branch).
base: ${{ github.event.workflow_run.pull_requests[0].base.sha }}
ref: ${{ github.event.workflow_run.pull_requests[0].head.sha }}
# Should be kept in sync with the filter in the CI workflow
filters: |
jsChanged: '**/src/**/*.js'
Expand Down