Virtual whiteboard for sketching hand-drawn like diagrams
chore: Remove changelog check and graphql (#2639)
Lipis14759d5b7243
diff --git a/.github/workflows/changelog-check.yml b/.github/workflows/changelog-check.ymldeleted file mode 100644index 717188a39b..0000000000--- a/.github/workflows/changelog-check.yml+++ /dev/null@@ -1,27 +0,0 @@-name: Changelog in sync for packages--on:- push:- branches:- - master- pull_request:-jobs:- test:- runs-on: ubuntu-latest-- steps:- - uses: actions/checkout@v1- - name: Setup Node.js 14.x- uses: actions/setup-node@v1- with:- node-version: 14.x- - name: Install and run changelog check- run:- if [[ $GITHUB_HEAD_REF =~ dependabot || $GITHUB_HEAD_REF == "l10n_master" ]]; then- echo "Skipping running changelog check";- else- npm ci;- npm run changelog:check;- fi- env:- CI: truediff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.ymldeleted file mode 100644index f01b4ab777..0000000000--- a/.github/workflows/codeql-analysis.yml+++ /dev/null@@ -1,33 +0,0 @@-name: "CodeQL"--on:- push:- branches: [master]- pull_request:- branches: [master]- schedule:- - cron: "18 7 * * 0"--jobs:- analyze:- name: Analyze- runs-on: ubuntu-latest-- strategy:- fail-fast: false- matrix:- language: ["typescript"]-- steps:- - name: Checkout repository- uses: actions/checkout@v2-- - name: Initialize CodeQL- uses: github/codeql-action/init@v1- with:- languages: ${{ matrix.language }}- - name: Autobuild- uses: github/codeql-action/autobuild@v1-- - name: Perform CodeQL Analysis- uses: github/codeql-action/analyze@v1diff --git a/package.json b/package.jsonindex 64f91af56d..9fbc9e7093 100644--- a/package.json+++ b/package.json@@ -100,7 +100,6 @@"test:other": "npm run prettier -- --list-different","test:typecheck": "tsc","test:update": "npm run test:app -- --updateSnapshot --watchAll=false",- "test": "npm run test:app",- "changelog:check": "node ./scripts/changelog-check.js"+ "test": "npm run test:app"}}diff --git a/scripts/changelog-check.js b/scripts/changelog-check.jsdeleted file mode 100644index 46f53016e9..0000000000--- a/scripts/changelog-check.js+++ /dev/null@@ -1,34 +0,0 @@-const { exec } = require("child_process");--const normalizePath = (path) => path.replace(/\\+/g, "/").trim().toLowerCase();--const IGNORED_PATHS = [- "src/excalidraw-app",- "packages/utils",- "CHANGELOG.md",- "README.md",-].map(normalizePath);--exec("git diff origin/master --cached --name-only", (error, stdout, stderr) => {- if (error || stderr) {- process.exit(1);- }-- if (!stdout || stdout.includes("packages/excalidraw/CHANGELOG.md")) {- process.exit(0);- }-- const changedFiles = stdout.trim().split("\n").map(normalizePath);-- const excalidrawPackageFiles = changedFiles.filter((filename) => {- return (- filename.includes("src") &&- !IGNORED_PATHS.find((ignoredPath) => filename.includes(ignoredPath))- );- });-- if (excalidrawPackageFiles.length) {- process.exit(1);- }- process.exit(0);-});