File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 872
872
873
873
# Trigger the workflow with the AMI name
874
874
echo "Triggering testinfra-only workflow for AMI: $AMI_NAME on branch: $BRANCH"
875
- gh workflow run testinfra-only.yml --repo "$REPO" -- ref "$BRANCH" -f ami_name="$AMI_NAME"
875
+ gh workflow run testinfra-only.yml --ref "$BRANCH" -f ami_name="$AMI_NAME"
876
876
877
877
# Wait for workflow to start and get the run ID
878
878
echo "Waiting for workflow to start..."
879
879
sleep 5
880
880
881
881
# Get the latest run ID for this workflow
882
- RUN_ID=$(gh run list --workflow=testinfra-only.yml --repo "$REPO" --branch "$BRANCH" --limit 1 --json databaseId --jq '.[0].databaseId')
882
+ RUN_ID=$(gh run list --workflow=testinfra-only.yml --branch "$BRANCH" --limit 1 --json databaseId --jq '.[0].databaseId')
883
883
884
884
if [ -z "$RUN_ID" ]; then
885
885
echo "Error: Could not find workflow run ID"
You can’t perform that action at this time.
0 commit comments