You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ! git merge --no-ff --no-edit "$upstream_ref"; then
63
+
git status --short
64
+
echo "::error::Automatic upstream merge conflicted. Resolve manually by merging ${upstream_ref} into main."
65
+
exit 1
66
+
fi
67
+
git push --force-with-lease origin "$SYNC_BRANCH"
68
+
echo "changed=true" >> "$GITHUB_OUTPUT"
69
+
70
+
- name: Create or update sync PR
71
+
if: steps.merge.outputs.changed == 'true'
72
+
id: pr
73
+
env:
74
+
GH_TOKEN: ${{ github.token }}
75
+
shell: bash
76
+
run: |
77
+
body="$RUNNER_TEMP/upstream-sync-pr.md"
78
+
cat > "$body" <<EOF
79
+
## TL;DR
80
+
81
+
This PR merges \`microsoft/apm@${{ steps.merge.outputs.upstream_sha }}\` into \`githubnext/apm@main\`.
82
+
83
+
## Required follow-up before Go migration completion
84
+
85
+
- Review the upstream Python diff for new CLI/runtime behavior.
86
+
- Add or update real Go behavior tests for every changed Python source/test contract.
87
+
- Advance \`tests/parity/upstream_contract_coverage.yml\` with a reviewed range from the previous upstream SHA to \`${{ steps.merge.outputs.upstream_sha }}\`.
88
+
- Run the enforcing migration gate before declaring issue #78 complete.
89
+
90
+
This PR is created by \`.github/workflows/upstream-apm-sync.yml\`.
0 commit comments