Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/dependabot-failures/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ To check a real repository, run the **Dependabot Failures** workflow manually wi
- Only runs of the Dependabot Updates workflow are checked. Problems that stop Dependabot before a run starts, such as an invalid `.github/dependabot.yml`, show up on the repository's **Insights > Dependency graph > Dependabot** page instead.
- Job logs are read for at most 30 failing updates per run. Others show "See run log" as the error type.
- Workflow run logs are kept for 90 days at most, and the repository's retention setting can make that shorter.
- Scheduled and manual runs both need the workflow on the repository's default branch. docs and samples sync to `edge`, which is not their default branch, so their check starts once the next release branch is cut from `edge`.
- Scheduled and manual runs both need the workflow on the repository's default branch. docs and samples sync to `edge`, their default branch.
2 changes: 1 addition & 1 deletion .github/actions/lockfile-registry-policy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Files must be UTF-8 or BOM-marked UTF-16. Matching symlinks, unreadable files, i

The existing [Sync workflow](../../workflows/sync.yml) distributes the caller through the lockfile registry policy group in [`.github/sync.yml`](../../sync.yml). That group lists all currently unarchived repositories in `radius-project`, including public, private, and internal repositories. Maintain the list when repositories are added or archived, following the existing sync configuration pattern. Changes to the caller or sync configuration trigger the normal Sync workflow when pushed to `main`; no separate sync workflow or discovery script is used.

Only [`workflow-templates/lockfile-registry-policy.yml`](../../../workflow-templates/lockfile-registry-policy.yml) is distributed, to `.github/workflows/lockfile-registry-policy.yml`. The implementation and tests stay here. The caller is delivered through the existing sync pull requests and `repo-sync` branch prefix; nothing is auto-merged. Following existing organization conventions, `docs` and `samples` target `edge`, and all other repositories target their default branch. These two repositories gain manual dispatch on their default branch after it inherits the caller.
Only [`workflow-templates/lockfile-registry-policy.yml`](../../../workflow-templates/lockfile-registry-policy.yml) is distributed, to `.github/workflows/lockfile-registry-policy.yml`. The implementation and tests stay here. The caller is delivered through the existing sync pull requests and `repo-sync` branch prefix; nothing is auto-merged. Every repository receives the caller on its default branch; following organization conventions, `docs` and `samples` list theirs explicitly as `@edge`.

Merge the central implementation into `main` before merging downstream sync PRs, because callers reference `@main`. This repository receives its own caller through the same sync after the central merge, avoiding an unresolved reusable-workflow reference during bootstrap. The existing Test Actions workflow exercises the implementation on feature branches independently.

Expand Down
3 changes: 1 addition & 2 deletions .github/actions/pr-status-labels/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Release-impact labels and review or merge policy are not configured here. The re

## Opting a repository in

The PR status labels group in [`.github/sync.yml`](../../sync.yml) enrolls `radius-project/.github`, `ai-extensions`, `dashboard`, `docs` (synced to `edge`; see [Limitations](#limitations)), `lab`, `radius`, `recipes`, `resource-types-contrib`, and `website`. To enroll another repository:
The PR status labels group in [`.github/sync.yml`](../../sync.yml) enrolls `radius-project/.github`, `ai-extensions`, `dashboard`, `docs` (synced to `edge`, its default branch), `lab`, `radius`, `recipes`, `resource-types-contrib`, and `website`. To enroll another repository:

1. Remove any repository-local lifecycle-label workflows, scripts, and configuration so only one writer updates the labels.
2. Add the repository to the PR status labels group in [`.github/sync.yml`](../../sync.yml), and add any repository-specific labels, including those in an existing `.github/labels.yml` and any existing `pr:` labels, to that group's `repo_labels` (see [Label catalog](#label-catalog)). After the change merges, the Sync workflow opens a pull request in the target repository that adds:
Expand Down Expand Up @@ -206,7 +206,6 @@ The `Labels` workflow applies `.github/labels.yml` with [crazy-max/ghaction-gith
- **Fork hold checks.** Configuration variables are not passed to fork `pull_request` runs; see [Hold check](#hold-check).
- **Approval inference.** For ruleset-protected branches without an aggregate review decision, CODEOWNER approval is only inferred from `.github/CODEOWNERS` on the base branch.
- **Size limits.** A PR with more than 100 labels or more than 100 pending review requests fails reconciliation rather than being classified from partial data.
- **Non-default sync branch.** `radius-project/docs` is synced to `edge`, but its default branch is a release branch cut from `edge`. `pull_request_target` runs use the base branch's workflow, so PRs into `edge` are labeled as soon as the sync pull request merges. Scheduled reconciliation, `workflow_run` review signals, manual runs, and the `Labels` sync run only from the default branch, so they start once the next release branch is cut from `edge`. Until then, PRs into other branches are not labeled, and lifecycle labels that the reconciler adds lack the shared colors and descriptions. The docs `PR Checks` workflow's required `Check for do-not-merge tag` job is being switched to the shared [hold check](#hold-check) behind a gate job that keeps that context name.
- **Platform.** The reusable workflows load their actions with the `$/` self-repository syntax, which requires GitHub.com (not GitHub Enterprise Server) and runner 2.336.0 or newer. actionlint 1.7.12 does not recognize `$/` yet ([rhysd/actionlint#711](https://github.com/rhysd/actionlint/issues/711)).

## Trust model
Expand Down
14 changes: 1 addition & 13 deletions .github/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,6 @@ group:
- source: sync-templates/.github/instructions/markdown.instructions.md
dest: .github/instructions/markdown.instructions.md

# Signed release upmerge - native callers only; shared implementation stays
# here. Keep the destination filename used by the release coordinator.
- repos: |
radius-project/samples@edge
files:
- source: workflow-templates/upmerge-samples.yml
dest: .github/workflows/upmerge.yaml

# Backports from main into existing release/X.Y branches.
- repos: |
radius-project/radius
Expand All @@ -162,11 +154,7 @@ group:
# Enrolled: .github, ai-extensions, dashboard, docs (edge), lab, radius,
# recipes, resource-types-contrib and website. Add repositories here only
# after their own lifecycle-label workflows have been removed.
# docs syncs to edge, which is not its default branch. PRs into edge are
# labeled right away, but the schedule, review signals and label sync run
# only from the default branch, so they start once the next release branch
# is cut from edge. docs' required "Check for do-not-merge tag" check is
# moving to the shared hold check (__pr-holds.yml) in docs.
# docs syncs to edge, its default branch.
# Docs: .github/actions/pr-status-labels/README.md
- repos: |
radius-project/.github
Expand Down
249 changes: 0 additions & 249 deletions .github/workflows/__upmerge.yml
Comment thread
kachawla marked this conversation as resolved.
Resolved

This file was deleted.

Loading