Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tools] Correct filtering logic for building docs (#19652)
The "before" property is only present in the "Push" GitHub Event [1]. Because of this, the script could not correctly detect changes when running in response to a "Pull Request" GitHub Event [2]. Remove the file filtering logic from the Bash script and instead rely on the equivalent functionality as provided by GitHub Actions [3]. [1] https://developer.github.com/v3/activity/events/types/#pushevent [2] https://developer.github.com/v3/pulls/ [3] https://help.github.com/en/articles/workflow-syntax-for-github-actions#onpushpull_requestpaths
- Loading branch information
1 parent
b87b150
commit f162228
Showing
2 changed files
with
4 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters