Skip to content

Add PR governance workflow#2

Open
rajeshkamal5050 wants to merge 5 commits intomainfrom
pr-governance
Open

Add PR governance workflow#2
rajeshkamal5050 wants to merge 5 commits intomainfrom
pr-governance

Conversation

@rajeshkamal5050
Copy link
Copy Markdown
Owner

@rajeshkamal5050 rajeshkamal5050 commented Apr 1, 2026

Testing governance workflow. Fixes #5

@rajeshkamal5050 rajeshkamal5050 linked an issue Apr 1, 2026 that may be closed by this pull request
@rajeshkamal5050 rajeshkamal5050 removed a link to an issue Apr 1, 2026
@rajeshkamal5050 rajeshkamal5050 linked an issue Apr 1, 2026 that may be closed by this pull request
Repository owner deleted a comment from github-actions bot Apr 1, 2026
Repository owner deleted a comment from github-actions bot Apr 1, 2026
Repository owner deleted a comment from github-actions bot Apr 1, 2026
Repository owner deleted a comment from github-actions bot Apr 1, 2026
@rajeshkamal5050 rajeshkamal5050 force-pushed the pr-governance branch 3 times, most recently from 42c6a3f to 3462911 Compare April 1, 2026 05:41
Repository owner deleted a comment from github-actions bot Apr 1, 2026
@rajeshkamal5050 rajeshkamal5050 force-pushed the pr-governance branch 3 times, most recently from 3979aec to 1a4cd97 Compare April 1, 2026 15:42
Repository owner deleted a comment from github-actions bot Apr 1, 2026
@rajeshkamal5050 rajeshkamal5050 removed a link to an issue Apr 1, 2026
Repository owner deleted a comment from github-actions bot Apr 1, 2026
@rajeshkamal5050 rajeshkamal5050 force-pushed the pr-governance branch 10 times, most recently from 879d2ea to 7eeef88 Compare April 1, 2026 20:12
Repository owner deleted a comment from github-actions bot Apr 1, 2026
@rajeshkamal5050 rajeshkamal5050 force-pushed the pr-governance branch 2 times, most recently from 4d70e7f to 69516ff Compare April 1, 2026 20:35
Repository owner deleted a comment from github-actions bot Apr 1, 2026
Adds a GitHub Actions workflow that runs on PRs targeting main:
- Checks for a linked GitHub issue (hard fail if missing)
- Posts a prioritization comment based on the issue's milestone
- Skips dependabot PRs and PRs with 'skip-governance' label
- Updates comment in place on subsequent runs (no duplicates)

Also updates CONTRIBUTING.md with linked issue guidance.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Repository owner deleted a comment from github-actions bot Apr 1, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

📋 Milestone: April 2026

This work is tracked for April 2026. The team will review it soon!

rajeshkamal5050 and others added 3 commits April 1, 2026 14:37
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Fix sprint match to check current sprint only (not past/future)
- Add concurrency group to prevent duplicate comments
- Add response.ok check before parsing JSON
- Defensive parsing of ISSUE_NUMBERS env var
- Use parseInt for GraphQL issue number interpolation
- Skip comment when all lookups fail (avoid misleading message)
- Wrap GraphQL and paginate calls in try/catch
- Use separate BOT_MARKER per script (issue vs priority)
- Skip draft PRs, add ready_for_review trigger

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test: current milestone issue

1 participant