#!/usr/bin/env bash
# Run in a clone of the authorized Azure DevOps test repository, with its test env loaded.
set -eu
git checkout -b evidence-44887-3
git -c user.name=Evidence -c user.email=evidence@example.invalid commit --allow-empty -m 'Fence media reproduction'
git -c credential.helper='!f() { echo username=pat; echo "password=$AZURE_DEVOPS_EXT_PAT"; }; f' push origin evidence-44887-3
az repos pr create --organization "$AZURE_DEVOPS_TEST_ORG" --project "$AZURE_DEVOPS_TEST_PROJECT" --repository t3-factory-test --source-branch evidence-44887-3 --target-branch main --title 'Fence media evidence 44887 round 3' --description '- ```text
  https://example.com/sample.mp4
  ```

https://example.com/actual.mp4'
# Run the accompanying scenario with T3_SCENARIO_INHERIT_ENV='AZURE_DEVOPS_*'.
# Cleanup: abandon the returned pull request ID and delete evidence-44887-3.
