Skip to content

Commit c085251

Browse files
Merge pull request #1615 from microsoftgraph/chore/remove-handover-translations-workflow
chore: remove unused handover-translations workflow
2 parents 3f8f987 + 88b2292 commit c085251

4 files changed

Lines changed: 4 additions & 55 deletions

File tree

.github/instructions/ci-workflows.instructions.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@ applyTo: '.github/workflows/*.yml'
88
- When changing validation scope, update the same path set in `validate.yml` `paths` and `validate-patch.yml` `paths-ignore`: the canonical sample catalog, `scripts/**`, `tests/**`, and both npm manifest files.
99
- Preserve the `validate-json-schema` and `test` job names in both validation workflows because the patch workflow supplies their stand-in results.
1010
- Keep the Jest `test` job dependent on `validate-json-schema` in `.github/workflows/validate.yml`.
11-
- In the translation handoff, preserve the staging step that collects localized files before opening the cross-repository pull request.
12-
- Reference credentials through GitHub Actions secrets, following `.github/workflows/handover-translations.yml`; never inline credential values.
1311
- Get explicit approval before changing triggers, required-check behavior, permissions, secrets, or cross-repository handoff destinations.

.github/workflows/handover-translations.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

AGENTS.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ This repository publishes content rather than running an application service. Va
2222

2323
> **WARNING:** Production publication and cross-repository handoff are destructive or externally visible operations. Always get explicit user approval before:
2424
> - Running or changing the production publication behavior in `azure-pipelines/publishSamples.yml`.
25-
> - Running or changing the translation handoff behavior in `.github/workflows/handover-translations.yml`.
2625
> - Changing protected-branch, required-check, credential, or secret handling.
2726
2827
### Rules
@@ -35,8 +34,6 @@ This repository publishes content rather than running an application service. Va
3534

3635
## Secrets Management
3736

38-
GitHub Actions accesses credentials through repository secrets in `.github/workflows/handover-translations.yml`, including `API_TOKEN_GITHUB`, `ACTION_EMAIL`, and `ACTION_USERNAME`.
39-
4037
### Rules for AI Agents
4138

4239
- Never inline secrets, tokens, passwords, connection strings, certificate material, or secret values.

repo-context.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ The repository follows a content pipeline rather than an application service lay
7373
2. `tests/samples.schema.json` and the Jest specifications under `tests/` validate the sample-query and permission content through `scripts/test-initiator.js`.
7474
3. `.github/workflows/validate.yml` runs schema validation and the npm test suite for relevant pull requests and pushes.
7575
4. `azure-pipelines/publishSamples.yml` packages sample-query and permission files and uploads them to Azure Blob Storage from `master`.
76-
5. `.github/workflows/handover-translations.yml` copies translated `messages/GE_*` files to `microsoftgraph/microsoft-graph-explorer-v4` from the `dev` branch.
77-
6. The DevX API and Graph Explorer consume the published content, as described in `README.md`.
76+
5. The DevX API and Graph Explorer consume the published content, as described in `README.md`.
7877

7978
---
8079

@@ -83,7 +82,7 @@ The repository follows a content pipeline rather than an application service lay
8382
- The unsuffixed JSON file is the base content file, such as `GE.json`, `sample-queries.json`, or `permissions-descriptions.json`.
8483
- Localized files append an underscore and locale code before `.json`, such as `_de-DE`, `_fr-FR`, or `_zh-CN`.
8584
- Jest test files use the `.spec.js` suffix.
86-
- GitHub workflow file names describe their action, such as `validate.yml`, `validate-patch.yml`, and `handover-translations.yml`.
85+
- GitHub workflow file names describe their action, such as `validate.yml` and `validate-patch.yml`.
8786

8887
---
8988

@@ -93,14 +92,14 @@ The repository follows a content pipeline rather than an application service lay
9392
|--------|------|-----------|-------|
9493
| Content catalogs | JSON documents | `sample-queries/sample-queries.json`, `permissions/permissions-descriptions.json`, `permissions/new/permissions.json`, `permissions/new/provisioningInfo.json`, `messages/GE.json`, `ge-tour/tour-steps.json` | Canonical and localized data consumed outside this repository. |
9594
| Validation configuration | npm script and JSON Schema | `package.json`, `tests/samples.schema.json`, `scripts/test-initiator.js` | `npm run test` starts Jest; GitHub Actions separately validates the sample catalog against its schema. |
96-
| GitHub automation | GitHub Actions YAML | `.github/workflows/validate.yml`, `.github/workflows/validate-patch.yml`, `.github/workflows/handover-translations.yml` | Path filters select validation or translation handoff behavior. |
95+
| GitHub automation | GitHub Actions YAML | `.github/workflows/validate.yml`, `.github/workflows/validate-patch.yml` | Path filters select validation behavior. |
9796
| Publication automation | Azure Pipelines YAML | `azure-pipelines/publishSamples.yml` | Packages sample-query and permission content and publishes it to Azure Blob Storage. |
9897
| Branch governance | Repository policy YAML and CODEOWNERS | `.github/policies/microsoft-graph-devx-content-branch-protection.yml`, `.github/CODEOWNERS` | Protects `master` and `dev` and assigns repository-wide ownership. |
9998

10099
### Config Disambiguation
101100

102101
- `package.json` defines the local test command and development dependencies; `tests/samples.schema.json` defines the allowed shape of sample-query content.
103-
- GitHub Actions validate pull requests and hand off translations; `azure-pipelines/publishSamples.yml` handles production artifact publication.
102+
- GitHub Actions validate pull requests; `azure-pipelines/publishSamples.yml` handles production artifact publication.
104103

105104
---
106105

@@ -112,7 +111,6 @@ The repository follows a content pipeline rather than an application service lay
112111
- `tests/permissions-descriptions.spec.js` - checks display-name formatting in the canonical permission descriptions.
113112
- `.github/workflows/validate.yml` - CI entry point for schema and Jest validation.
114113
- `azure-pipelines/publishSamples.yml` - production publication entry point for sample-query and permission files.
115-
- `.github/workflows/handover-translations.yml` - translation handoff entry point for localized Graph Explorer messages.
116114

117115
---
118116

@@ -135,12 +133,6 @@ The repository follows a content pipeline rather than an application service lay
135133
| Azure Blob Storage | Receives published sample-query and permission artifacts from the production pipeline. | Not declared in this repository |
136134
| Microsoft Graph documentation endpoints | Supply the `docLink` targets checked by the sample validation suite. | Not declared in this repository |
137135

138-
### Related Repositories
139-
140-
| Repo | Relationship | Purpose |
141-
|------|-------------|---------|
142-
| `microsoftgraph/microsoft-graph-explorer-v4` | Receives translated message files through `.github/workflows/handover-translations.yml`. | Hosts the Graph Explorer application that consumes the content. |
143-
144136
---
145137

146138
## Team Ownership

0 commit comments

Comments
 (0)