Merge dev: resolve project board automation option IDs conflict (#305)#306
Conversation
🏗️ PR Added to Squad Triage QueueThis PR has been labeled with Next steps:
|
There was a problem hiding this comment.
Pull request overview
This PR merges dev to resolve a conflict around GitHub Project Board automation configuration, while also including a small Blazor edit-page behavior tweak and a markdownlint formatting fix in decisions docs.
Changes:
- Blazor: redirect
/blog/edit/{id}back to/blogwhen the post cannot be found, with a new bUnit test covering the behavior. - GitHub Actions: update project board automation workflows to use
GH_PROJECT_TOKENand adjust status option IDs. - Docs: fix a markdownlint spacing issue in
.squad/decisions/decisions.md.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/Web.Tests.Bunit/Features/EditAclTests.cs | Adds a bUnit test ensuring the Edit page redirects to /blog when a post is not found. |
| src/Web/Features/BlogPosts/Edit/Edit.razor | Redirects to /blog when the queried post does not exist. |
| .squad/decisions/decisions.md | Inserts a blank line to satisfy markdownlint formatting. |
| .github/workflows/squad-mark-released.yml | Updates workflow env option IDs used for “Done → Released” project transitions. |
| .github/workflows/project-board-automation.yml | Updates workflow env option IDs for project board transitions. |
| .github/workflows/project-board-audit.yml | Adds header comments documenting the audit workflow and updated project ID. |
| .github/workflows/add-issues-to-project.yml | Switches token used by actions/github-script to secrets.GH_PROJECT_TOKEN. |
| PROJECT_ID: PVT_kwHOA5k0b84BXZpa | ||
| STATUS_FIELD_ID: PVTSSF_lAHOA5k0b84BXZpazhSmuGY | ||
| DONE_OPTION_ID: "98236657" | ||
| RELEASED_OPTION_ID: "8e246b27" | ||
| RELEASED_OPTION_ID: "98236657" | ||
|
|
| PROJECT_ID: PVT_kwHOA5k0b84BXZpa | ||
| STATUS_FIELD_ID: PVTSSF_lAHOA5k0b84BXZpazhSmuGY | ||
| IN_SPRINT_OPTION_ID: 61e4505c | ||
| IN_REVIEW_OPTION_ID: df73e18b | ||
| IN_SPRINT_OPTION_ID: f75ad846 | ||
| IN_REVIEW_OPTION_ID: 47fc9ee4 | ||
| DONE_OPTION_ID: "98236657" | ||
| RELEASED_OPTION_ID: 8e246b27 | ||
| RELEASED_OPTION_ID: 98236657 | ||
|
|
| - name: Add issue to MyBlog project board | ||
| uses: actions/github-script@v9 | ||
| with: | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||
| github-token: ${{ secrets.GH_PROJECT_TOKEN }} | ||
| script: | | ||
| const issue = context.payload.issue; |
8cf7981 to
6a384bf
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #306 +/- ##
=======================================
Coverage 83.33% 83.33%
=======================================
Files 47 47
Lines 1248 1248
Branches 152 152
=======================================
Hits 1040 1040
Misses 148 148
Partials 60 60 🚀 New features to boost your workflow:
|
Triage Decision: ROUTE TO BOROMIR (Assign
|
Added 'Released' status option to MyBlog project board (ID: 90af7f3b). DONE_OPTION_ID (98236657) remains unchanged. Previously RELEASED_OPTION_ID was set to 98236657, clashing with DONE. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🔧 Released Option Added — Blocker FixedBoromir here. I've resolved the blocker that prevented this PR from being correct. Problem
Fix Applied
Board State Now
Commit
PR #306 is now unblocked. DONE and RELEASED are distinct IDs — the board automation will correctly move items to Released on release, not back to Done. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Closes #305
Context
Boromir (DevOps) has successfully resolved a merge conflict between local
devandorigin/dev. The conflict arose because:origin/devwas at commit7e15cdd(feat: restrict blog post editing [Sprint 19] feat(app): restrict blog post editing to post author or Admin #300)devhad 7 commits ahead, including project board automation fixes with correct option IDsResolution
.squad/decisions.mdwas also fixed during mergeb65862e'Merge dev: resolve project board automation option IDs conflict'Decision
As Aragorn (Lead Developer), authorizing this merge and push to keep
devsynchronized with the correct project board automation configuration.Related Decision
.squad/decisions/decisions.md(lines 2341-2362)Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com