Skip to content

Commit

Permalink
Add input name to debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
philnewm committed Nov 19, 2024
1 parent e38c504 commit 0771497
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/push_caller_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
run: |
caller_workflow_files=$(gh api repos/ynput/ops-repo-automation/contents/caller_workflows --jq '.[].name' | sed 's/\.yml$//')
echo "Files: $caller_workflow_files"
$input_name="${{ inputs.target_branch }}"
if echo "$caller_workflow_files" | grep -qw "$input_name"; then
echo "File $input_name exists in the caller workflow directory."
Expand Down

0 comments on commit 0771497

Please sign in to comment.