diff --git a/.github/workflows/docs-validate-nav-build.yml b/.github/workflows/docs-validate-nav-build.yml index 87a4e070c5e..5232f4c0b43 100644 --- a/.github/workflows/docs-validate-nav-build.yml +++ b/.github/workflows/docs-validate-nav-build.yml @@ -1,4 +1,4 @@ -name: Docs - Validate nav.ts Matches nav.js +name: Docs - Validate nav.ts on: pull_request: diff --git a/.github/workflows/lint.yml b/.github/workflows/typescript-lint.yml similarity index 100% rename from .github/workflows/lint.yml rename to .github/workflows/typescript-lint.yml diff --git a/.github/workflows/test.yml b/.github/workflows/typescript-test.yml similarity index 100% rename from .github/workflows/test.yml rename to .github/workflows/typescript-test.yml diff --git a/docs/.github/workflows/git-tree-checks.yml b/docs/.github/workflows/git-tree-checks.yml deleted file mode 100644 index 5e797450e71..00000000000 --- a/docs/.github/workflows/git-tree-checks.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Git tree checks - -on: - pull_request: - types: [opened, edited, reopened, synchronize] - branches: - - release -permissions: read-all - -jobs: - check_base_ref: - name: Release branch restriction - runs-on: ubuntu-latest - steps: - - if: | - github.event_name == 'pull_request' && - github.event.pull_request.base.ref == 'release' && - ! startsWith(github.event.pull_request.head.ref, 'release-') - run: | - echo 'Only `release-*` branches are allowed to merge into the release branch `release`.' - echo 'Are you **sure** that you want to merge into release?' - echo 'Is this **definitely** just cherrypicking commits that are already in `master`?' - exit 1