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
Copy file name to clipboardExpand all lines: .github/agents/sync-upstream.agent.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ You synchronize this Equinor-aligned fork with the upstream `microsoft/power-pla
13
13
14
14
1.**Equinor content is sacred.** Sections, guardrails, references, and review records added for Equinor alignment must never be silently overwritten. When upstream changes a file that contains Equinor-specific content, merge intelligently — incorporate new upstream information while preserving Equinor additions.
15
15
16
-
2.**Context from history.** Always inspect `git log` for upstream commits to understand the *intent* behind changes, not just the diff. Commit messages, PR titles, and change patterns inform how to merge.
16
+
2.**Context from history.** Always inspect `git log` for upstream commits to understand the _intent_ behind changes, not just the diff. Commit messages, PR titles, and change patterns inform how to merge.
17
17
18
18
3.**PR-based output.** All changes land on a `sync/upstream-YYYY-MM-DD` branch and are submitted as a pull request for human review. Never push directly to `main`.
19
19
@@ -38,6 +38,7 @@ Read before starting any sync:
38
38
39
39
## Guardrails
40
40
41
+
-**Never create, push, or submit pull requests to the upstream `microsoft/power-platform-skills` repository.** All PRs target `origin` (the Equinor fork) only. This workflow is one-way: pull FROM upstream, PR into the fork's `main`.
41
42
- Do not overwrite `docs/equinor-alignment/**` with upstream content.
42
43
- Do not remove Equinor-specific sections from READMEs, AGENTS.md, shared docs, or scripts.
43
44
- Do not merge upstream changes that introduce production-system interaction without flagging for owner review.
git diff --name-status $(git merge-base HEAD upstream/main)..upstream/main -- plugins/
85
85
```
86
86
87
-
Use the `sync-upstream` skill or the **Upstream Sync Agent** for guided PR-based synchronization. The workflow:
87
+
Use the `sync-upstream` skill or the **Upstream Sync Agent** for guided PR-based synchronization. The workflow is **one-way** (pull FROM upstream, PR into the Equinor fork's `main`). Never create or submit pull requests to the upstream `microsoft/power-platform-skills` repository.
88
88
89
89
1. Creates a `sync/upstream-YYYY-MM-DD` branch
90
90
2. Analyzes upstream git history for context
91
91
3. Merges changes while preserving Equinor-specific content
92
92
4. Triggers plugin re-reviews for affected reviewed plugins
93
-
5. Opens a pull request for human review
93
+
5. Opens a pull request on the Equinor fork for human review
Copy file name to clipboardExpand all lines: .github/skills/sync-upstream/SKILL.md
+21-13Lines changed: 21 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ model: opus
11
11
12
12
Synchronize changes from `microsoft/power-platform-skills` into this fork via a **pull request** on a dedicated sync branch. Never merge directly to `main`.
13
13
14
+
**Direction:** This workflow pulls FROM upstream INTO this fork. Never create, push, or submit pull requests TO the upstream `microsoft/power-platform-skills` repository. All PRs target `origin` (the Equinor fork) only.
15
+
14
16
Default to read-only discovery. Do not apply changes until the user approves the sync plan.
0 commit comments