From 65ae075bddaf0eb5aa153c46711f5228a6d424c3 Mon Sep 17 00:00:00 2001 From: Christopher Holt <=> Date: Tue, 5 Mar 2024 17:50:25 -0800 Subject: [PATCH] update branch policies and pipelines for pull requests on archive --- .github/workflows/ci-validate-platforms.yml | 14 +++++++------- .github/workflows/ci-validate-pr.yml | 4 ++-- .vscode/settings.json | 6 +++++- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-validate-platforms.yml b/.github/workflows/ci-validate-platforms.yml index 36564eb2230..dec7e7a3509 100644 --- a/.github/workflows/ci-validate-platforms.yml +++ b/.github/workflows/ci-validate-platforms.yml @@ -3,11 +3,11 @@ name: Validate Platforms/Browsers on: push: branches: - - master + - archives/fast-element-1 pull_request: branches: - - master + - archives/fast-element-1 schedule: - cron: 0 7 * * 3 @@ -36,7 +36,7 @@ jobs: - if: ${{ github.event_name == 'pull_request' }} run: | - git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master + git fetch --no-tags --prune --depth=1 origin +refs/heads/archives/fast-element-1:refs/remotes/origin/archives/fast-element-1 - name: Get yarn cache directory path id: yarn-cache-dir-path @@ -65,18 +65,18 @@ jobs: - name: Run tests in changed packages if: ${{ github.event_name == 'pull_request' }} - run: yarn lerna run test --stream --since=origin/master + run: yarn lerna run test --stream --since=origin/archives/fast-element-1 - name: Run tests in all Lerna Packages - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/archives/fast-element-1' }} run: yarn lerna run test --stream - name: Initialize CodeQL - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/archives/fast-element-1' }} uses: github/codeql-action/init@v1 with: languages: javascript, typescript - name: Perform CodeQL Analysis - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/archives/fast-element-1' }} uses: github/codeql-action/analyze@v1 diff --git a/.github/workflows/ci-validate-pr.yml b/.github/workflows/ci-validate-pr.yml index 85ec3affb53..5d54e106416 100644 --- a/.github/workflows/ci-validate-pr.yml +++ b/.github/workflows/ci-validate-pr.yml @@ -3,11 +3,11 @@ name: Validate PRs on: push: branches: - - master + - archives/fast-element-1 - releases/* pull_request: branches: - - master + - archives/fast-element-1 - releases/* - features/* diff --git a/.vscode/settings.json b/.vscode/settings.json index 5f598efbde3..3cc264f4a71 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,7 +3,11 @@ "files.insertFinalNewline": false }, "[markdown]": { - "editor.quickSuggestions": false, + "editor.quickSuggestions": { + "comments": "off", + "strings": "off", + "other": "off" + }, "editor.wordWrap": "off", "editor.wordWrapColumn": 90, "files.insertFinalNewline": false,