Skip to content

Commit 2ef50de

Browse files
correct check names and add v2 context to push rejection troubleshooting
1 parent 4d3f97a commit 2ef50de

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/pages/deploy/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ After triggering a deployment:
271271
- Run the **Build Auto-Generated Files** workflow manually and merge ignoring the failed check
272272
- See [FAQ](../faq/index.md) for more details
273273

274-
#### `build-auto-generated-files` Failing with a Push Rejection
274+
#### `Build Contributors` or `Build Site Metadata` Failing with a Push Rejection
275275

276-
**Symptoms:** Workflow fails because it cannot push auto-generated files to `main`
276+
**Symptoms:** `Build Contributors` or `Build Site Metadata` fails because it cannot push auto-generated files to `main`
277277

278278
**Solutions:**
279279
- Add the `adp-devsite-app` bot as a bypass actor in your branch protection ruleset: Settings → Branches → edit ruleset → Bypass list → add `adp-devsite-app`

src/pages/faq/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Until your repo is updated to v2 workflows:
6363
1. Go to Actions → Build Auto-Generated Files → Run workflow and wait for it to complete
6464
2. Merge the PR and ignore the failed check
6565

66-
## Why is `build-auto-generated-files` failing with a push rejection?
66+
## Why are the `Build Contributors` or `Build Site Metadata` checks failing with a push rejection?
6767

68-
If your repo has branch protection rules, the `adp-devsite-app` bot needs to be added as a bypass actor so it can push auto-generated files (`contributors.json`, `adp-site-metadata.json`) directly to main.
68+
This applies to repos on v2 workflows. When a PR is merged, the deploy workflow auto-generates `contributors.json` and `adp-site-metadata.json` and pushes them to main using the `adp-devsite-app` bot. If your repo has branch protection rules, the bot needs to be added as a bypass actor.
6969

7070
Settings → Branches → edit ruleset → Bypass list → add [`adp-devsite-app`](https://github.com/apps/adp-devsite-app).

0 commit comments

Comments
 (0)