Skip to content

Cross-repo ci failing to parse when backticks are in PR description #79

@ghost

Description

PR Description:

Image

Error:

Run BODY="- Adds completion reason inference based on the rules outlined in the typescript implementation / spec.
  BODY="- Adds completion reason inference based on the rules outlined in the typescript implementation / spec.
  
  - When all items are completed/failed, we assume `ALL_COMPLETED`
  - When we breach min successful, we assume `MIN_SUCCESSFUL_REACHED`
  - We assume we've failed completion due to errors
  
  fixes: #36
  closes: #71 as duplicate. Duplicating as #71 as source my fork, and CI breaks.
  
  
  By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
  "
  # Look for a line like: TESTING_SDK_BRANCH: feature/foo
  REF=$(printf "%s\n" "$BODY" | sed -n 's/^TESTING_SDK_BRANCH:[[:space:]]*//p' | head -n1)
  if [ -z "$REF" ]; then REF="main"; fi
  echo "testing_ref=$REF" >> "$GITHUB_OUTPUT"
  echo "Using testing SDK branch: $REF"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions