-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
37 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,10 @@ jobs: | |
- name: Handle New Files and Differences | ||
run: | | ||
echo "Checking outputs from diff_check step..." | ||
echo "New file found: ${{ steps.diff_check.outputs.new_file_found }}" | ||
echo "Diff found: ${{ steps.diff_check.outputs.diff_found }}" | ||
if [ "${{ steps.diff_check.outputs.new_file_found }}" == "true" ]; then | ||
echo "New JSON files detected:" | ||
echo "${{ steps.diff_check.outputs.new_files }}" # Print all new files with paths | ||
|
@@ -121,7 +125,7 @@ jobs: | |
# Conditionally Dispatch Event to Processor Repo if Differences Found | ||
- name: Dispatch Event to Processor Repo | ||
if: steps.diff_check.outputs.diff_found == 'true' | ||
if: steps.diff_check.outputs.diff_found == 'true' && steps.diff_check.outputs.new_file_found == 'false' | ||
uses: peter-evans/[email protected] | ||
with: | ||
TOKEN: '${{ steps.secrets.outputs.token }}' | ||
|
@@ -134,4 +138,7 @@ jobs: | |
if: steps.diff_check.outputs.diff_found == 'true' | ||
id: poll_status | ||
run: | | ||
. scripts/indexer_processor_tests_status_poll.sh | ||
. scripts/indexer_processor_tests_status_poll.sh | ||
env: | ||
GITHUB_TOKEN: ${{ steps.secrets.outputs.token }} # Pass the correct GitHub token | ||
GITHUB_SHA: ${{ github.sha }} |
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