From 023b1cf457cddd467dc7a3825bed6de142a022e3 Mon Sep 17 00:00:00 2001 From: Patrick Knight Date: Mon, 28 Apr 2025 10:21:35 -0500 Subject: [PATCH 1/2] Update repo-policy-rules-manage-bypass-request.md (#55426) Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> --- data/reusables/enterprise/repo-policy-rules-delegated-bypass.md | 2 +- .../enterprise/repo-policy-rules-manage-bypass-request.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/reusables/enterprise/repo-policy-rules-delegated-bypass.md b/data/reusables/enterprise/repo-policy-rules-delegated-bypass.md index bc4a4aee23a4..c195521c1d91 100644 --- a/data/reusables/enterprise/repo-policy-rules-delegated-bypass.md +++ b/data/reusables/enterprise/repo-policy-rules-delegated-bypass.md @@ -1,6 +1,6 @@ {% ifversion repo-policy-rules %} -[!NOTE] Repository policy delegated bypass is in {% data variables.release-phases.public_preview %} and subject to change. +> [!NOTE] Repository policy delegated bypass is in {% data variables.release-phases.public_preview %} and subject to change. Delegated bypass for repository policies lets you control who can bypass repository policies for repository deletions and visibility changes. diff --git a/data/reusables/enterprise/repo-policy-rules-manage-bypass-request.md b/data/reusables/enterprise/repo-policy-rules-manage-bypass-request.md index d1a26cd80570..6911eb65fcef 100644 --- a/data/reusables/enterprise/repo-policy-rules-manage-bypass-request.md +++ b/data/reusables/enterprise/repo-policy-rules-manage-bypass-request.md @@ -1,6 +1,6 @@ ## Managing requests to bypass push rules -[!NOTE] Repository policy delegated bypass is in {% data variables.release-phases.public_preview %} and subject to change. +> [!NOTE] Repository policy delegated bypass is in {% data variables.release-phases.public_preview %} and subject to change. You can view and manage all requests for bypass privileges on the “Bypass Requests" page, located under the **Policy** settings. From 338655ca8aab57c67fe4854b9327a351245a99ec Mon Sep 17 00:00:00 2001 From: Nick Rolfe Date: Mon, 28 Apr 2025 16:27:41 +0100 Subject: [PATCH 2/2] Fix workflow to sync CodeQL CLI (#55425) --- .github/workflows/sync-codeql-cli.yml | 4 ++-- package.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-codeql-cli.yml b/.github/workflows/sync-codeql-cli.yml index e9698bb7ae3a..15a4c12a1db5 100644 --- a/.github/workflows/sync-codeql-cli.yml +++ b/.github/workflows/sync-codeql-cli.yml @@ -67,7 +67,7 @@ jobs: - name: Sync the CodeQL CLI data run: | - src/codeql-cli/scripts/sync.js + npm run sync-codeql-cli git status echo "Deleting the cloned github/semmle-code repo..." rm -rf semmle-code @@ -81,7 +81,7 @@ jobs: changes=$(git diff --name-only | wc -l) untracked=$(git status --untracked-files --short | wc -l) if [[ $changes -eq 0 ]] && [[ $untracked -eq 0 ]]; then - echo "There are no changes to commit after running src/codeql/scripts/sync.js. Exiting..." + echo "There are no changes to commit after running 'npm run sync-codeql-cli'. Exiting..." exit 0 fi diff --git a/package.json b/package.json index 3d9dda3862e0..138c32440c84 100644 --- a/package.json +++ b/package.json @@ -86,6 +86,7 @@ "start-for-playwright": "cross-env ROOT=src/fixtures/fixtures TRANSLATIONS_FIXTURE_ROOT=src/fixtures/fixtures/translations ENABLED_LANGUAGES=en,ja NODE_ENV=test tsx src/frame/server.ts", "symlink-from-local-repo": "tsx src/early-access/scripts/symlink-from-local-repo.js", "sync-audit-log": "tsx src/audit-logs/scripts/sync.ts", + "sync-codeql-cli": "tsx src/codeql-cli/scripts/sync.js", "sync-graphql": "tsx src/graphql/scripts/sync.js", "sync-rest": "tsx src/rest/scripts/update-files.ts", "sync-secret-scanning": "tsx src/secret-scanning/scripts/sync.ts",