Skip to content

ci: block pull requests to main outside release branches - #293

Merged
Paulo Lacerda (placerda) merged 1 commit into
developfrom
feature/block-pr-to-main-guard
Sep 3, 2026
Merged

ci: block pull requests to main outside release branches#293
Paulo Lacerda (placerda) merged 1 commit into
developfrom
feature/block-pr-to-main-guard

Conversation

@placerda

Copy link
Copy Markdown
Contributor

The repository had no guard on \main, unlike \gpt-rag-ui, \gpt-rag-orchestrator\ and the umbrella repo. This ports the orchestrator's workflow verbatim, allowing only
elease/..\ to target \main.

Note: because the workflow runs on \pull_request_target, it takes effect only once merged into \main\ — the first release after this lands still needs --admin.

Aligns gpt-rag-ingestion with gpt-rag-ui, gpt-rag-orchestrator and the umbrella
repository, which all guard main against non-release pull requests. The regex
allows exactly release/<MAJOR>.<MINOR>.<PATCH>, as required by the release
process.
@placerda
Paulo Lacerda (placerda) merged commit b5df835 into develop Sep 3, 2026
2 checks passed
@placerda
Paulo Lacerda (placerda) deleted the feature/block-pr-to-main-guard branch September 3, 2026 11:23
Paulo Lacerda (placerda) added a commit that referenced this pull request Sep 3, 2026
* ci: run the existing unit test suite on every pull request (#292)

* ci: run the existing unit test suite on every pull request

* fix(deps): align opentelemetry instrumentation with azure-monitor distro

The Dependabot bump in #282 pinned opentelemetry-instrumentation-httpx to
0.65b0, which azure-monitor-opentelemetry excludes (>=0.64b0,<0.65.0). The pin
forced opentelemetry-sdk 1.44 and made pip backtrack to
azure-monitor-opentelemetry-exporter 1.0.0b45, which imports LogData from
opentelemetry.sdk._logs - a symbol removed in 1.44. Since telemetry/telemetry.py
imports configure_azure_monitor at module scope and main.py imports telemetry at
startup, the container failed to boot.

Also install pytest-asyncio so the async tests actually execute.

* ci: block pull requests to main outside release branches (#293)

Aligns gpt-rag-ingestion with gpt-rag-ui, gpt-rag-orchestrator and the umbrella
repository, which all guard main against non-release pull requests. The regex
allows exactly release/<MAJOR>.<MINOR>.<PATCH>, as required by the release
process.

* chore(release): v2.7.2
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.

1 participant