From 26937e7d21d84fc1c5bce72f7f267cbaef552db7 Mon Sep 17 00:00:00 2001 From: draedful Date: Fri, 4 Oct 2024 16:54:34 +0300 Subject: [PATCH 01/11] feat(ci): Add ci actions --- .github/workflows/ci.yaml | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..efcc683 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,43 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + +jobs: + verify_files: + name: Verify Files + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 18 + cache: npm + - name: Install Packages + run: npm ci + # - name: Lint Files + # run: npm run lint + - name: Typecheck + run: npm run typecheck + + tests: + name: Tests + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 18 + cache: npm + - name: Install Packages + run: npm ci + - name: Unit Tests + run: npm run test + # - name: ESBuild compatability + # run: npm run test:esbuild \ No newline at end of file From e3065299fdf405ce6a58c48342fc885a27bccdba Mon Sep 17 00:00:00 2001 From: draedful Date: Fri, 4 Oct 2024 16:59:20 +0300 Subject: [PATCH 02/11] feat(ci): add check the PRs title --- .github/workflows/pr-title.yml | 27 ++++++++++ commitlint.config.js | 6 +++ package-lock.json | 97 ++++++++++++++++++++++++++++++++++ package.json | 13 ++--- 4 files changed, 137 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/pr-title.yml create mode 100644 commitlint.config.js diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml new file mode 100644 index 0000000..42d66e8 --- /dev/null +++ b/.github/workflows/pr-title.yml @@ -0,0 +1,27 @@ +name: PR Title + +on: + pull_request: + types: + - opened + - synchronize + - reopened + - edited + +jobs: + verify_title: + name: Verify Title + runs-on: ubuntu-latest + if: ${{github.event.action != 'edited' || github.event.changes.title}} + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: npm + - name: Install Packages + run: npm ci + - name: Run Commitlint + run: echo "${{github.event.pull_request.title}}" | npx commitlint \ No newline at end of file diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 0000000..c434e82 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,6 @@ +module.exports = { + extends: ['@commitlint/config-conventional'], + rules: { + "subject-case": [0], + }, +}; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index cc267bc..38f932f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,6 +22,7 @@ "@babel/preset-react": "^7.22.5", "@babel/preset-typescript": "^7.22.5", "@chromatic-com/storybook": "^1.5.0", + "@commitlint/config-conventional": "^19.5.0", "@gravity-ui/eslint-config": "^2.1.1", "@gravity-ui/tsconfig": "^1.0.0", "@gravity-ui/uikit": "^5.26.0", @@ -2183,6 +2184,44 @@ "yarn": ">=1.22.18" } }, + "node_modules/@commitlint/config-conventional": { + "version": "19.5.0", + "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-19.5.0.tgz", + "integrity": "sha512-OBhdtJyHNPryZKg0fFpZNOBM1ZDbntMvqMuSmpfyP86XSfwzGw4CaoYRG4RutUPg0BTK07VMRIkNJT6wi2zthg==", + "dev": true, + "dependencies": { + "@commitlint/types": "^19.5.0", + "conventional-changelog-conventionalcommits": "^7.0.2" + }, + "engines": { + "node": ">=v18" + } + }, + "node_modules/@commitlint/types": { + "version": "19.5.0", + "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.5.0.tgz", + "integrity": "sha512-DSHae2obMSMkAtTBSOulg5X7/z+rGLxcXQIkg3OmWvY6wifojge5uVMydfhUvs7yQj+V7jNmRZ2Xzl8GJyqRgg==", + "dev": true, + "dependencies": { + "@types/conventional-commits-parser": "^5.0.0", + "chalk": "^5.3.0" + }, + "engines": { + "node": ">=v18" + } + }, + "node_modules/@commitlint/types/node_modules/chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "dev": true, + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", @@ -5816,6 +5855,15 @@ "@types/node": "*" } }, + "node_modules/@types/conventional-commits-parser": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz", + "integrity": "sha512-loB369iXNmAZglwWATL+WRe+CRMmmBPtpolYzIebFaX4YA3x+BEfLqhUAV9WanycKI3TG1IMr5bMJDajDKLlUQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/cross-spawn": { "version": "6.0.6", "resolved": "https://registry.npmjs.org/@types/cross-spawn/-/cross-spawn-6.0.6.tgz", @@ -6971,6 +7019,12 @@ "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", "dev": true }, + "node_modules/array-ify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", + "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", + "dev": true + }, "node_modules/array-includes": { "version": "3.1.8", "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", @@ -8001,6 +8055,16 @@ "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", "dev": true }, + "node_modules/compare-func": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", + "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", + "dev": true, + "dependencies": { + "array-ify": "^1.0.0", + "dot-prop": "^5.1.0" + } + }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -8049,6 +8113,18 @@ "node": ">= 0.6" } }, + "node_modules/conventional-changelog-conventionalcommits": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-7.0.2.tgz", + "integrity": "sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==", + "dev": true, + "dependencies": { + "compare-func": "^2.0.0" + }, + "engines": { + "node": ">=16" + } + }, "node_modules/convert-source-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", @@ -8844,6 +8920,18 @@ "tslib": "^2.0.3" } }, + "node_modules/dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, + "dependencies": { + "is-obj": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -11852,6 +11940,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/is-path-inside": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", diff --git a/package.json b/package.json index e75f4f5..87c3635 100644 --- a/package.json +++ b/package.json @@ -6,17 +6,17 @@ "keywords": [], "license": "MIT", "repository": { - "type": "git", - "url": "https://github.com/gravity-ui/graph" - }, + "type": "git", + "url": "https://github.com/gravity-ui/graph" + }, "files": [ "build", "tsconfig.json" ], "engines": { - "yarn": "Please use npm instead of yarn to install dependencies", - "pnpm": "Please use npm instead of pnpm to install dependencies" - }, + "yarn": "Please use npm instead of yarn to install dependencies", + "pnpm": "Please use npm instead of pnpm to install dependencies" + }, "scripts": { "typecheck": "npm run build:publish -- --noEmit", "lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"", @@ -56,6 +56,7 @@ "@babel/preset-react": "^7.22.5", "@babel/preset-typescript": "^7.22.5", "@chromatic-com/storybook": "^1.5.0", + "@commitlint/config-conventional": "^19.5.0", "@gravity-ui/eslint-config": "^2.1.1", "@gravity-ui/tsconfig": "^1.0.0", "@gravity-ui/uikit": "^5.26.0", From cb5d935f3ed37c5c4bca9ed075844a9977f5141e Mon Sep 17 00:00:00 2001 From: draedful Date: Fri, 4 Oct 2024 17:15:26 +0300 Subject: [PATCH 03/11] feat(ci): attempt to build storybook --- .github/workflows/pr-preview-build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/pr-preview-build.yml diff --git a/.github/workflows/pr-preview-build.yml b/.github/workflows/pr-preview-build.yml new file mode 100644 index 0000000..db0b617 --- /dev/null +++ b/.github/workflows/pr-preview-build.yml @@ -0,0 +1,13 @@ +name: PR Preview Build + +on: + pull_request: + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: gravity-ui/preview-build-action@v2 + with: + node-version: 18 \ No newline at end of file From 0910bc056593b002064a985ef4a9ad6083623ec6 Mon Sep 17 00:00:00 2001 From: draedful Date: Fri, 4 Oct 2024 17:47:21 +0300 Subject: [PATCH 04/11] feat(CI): attempt to deploy storybook to s3 --- .github/workflows/pr-preview-deploy.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/pr-preview-deploy.yml diff --git a/.github/workflows/pr-preview-deploy.yml b/.github/workflows/pr-preview-deploy.yml new file mode 100644 index 0000000..74db3e8 --- /dev/null +++ b/.github/workflows/pr-preview-deploy.yml @@ -0,0 +1,22 @@ +name: PR Preview Deploy + +on: + workflow_run: + workflows: ['PR Preview Build'] + types: + - completed + +jobs: + deploy: + name: Deploy + if: > + github.event.workflow_run.event == 'pull_request' && + github.event.workflow_run.conclusion == 'success' + runs-on: ubuntu-latest + steps: + - uses: gravity-ui/preview-deploy-action@v2 + with: + project: graph + github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }} + s3-key-id: ${{ secrets.STORYBOOK_S3_KEY_ID }} + s3-secret-key: ${{ secrets.STORYBOOK_S3_SECRET_KEY }} \ No newline at end of file From 79935946760582998a31988ff64eecd28d1ac710 Mon Sep 17 00:00:00 2001 From: draedful Date: Fri, 4 Oct 2024 18:10:10 +0300 Subject: [PATCH 05/11] test --- .github/workflows/pr-preview-deploy.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pr-preview-deploy.yml b/.github/workflows/pr-preview-deploy.yml index 74db3e8..775da36 100644 --- a/.github/workflows/pr-preview-deploy.yml +++ b/.github/workflows/pr-preview-deploy.yml @@ -4,19 +4,17 @@ on: workflow_run: workflows: ['PR Preview Build'] types: - - completed + - completed jobs: deploy: name: Deploy - if: > - github.event.workflow_run.event == 'pull_request' && - github.event.workflow_run.conclusion == 'success' + if: ${{github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'}} runs-on: ubuntu-latest steps: - - uses: gravity-ui/preview-deploy-action@v2 - with: - project: graph - github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }} - s3-key-id: ${{ secrets.STORYBOOK_S3_KEY_ID }} - s3-secret-key: ${{ secrets.STORYBOOK_S3_SECRET_KEY }} \ No newline at end of file + - uses: gravity-ui/preview-deploy-action@v2 + with: + project: graph + github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }} + s3-key-id: ${{ secrets.STORYBOOK_S3_KEY_ID }} + s3-secret-key: ${{ secrets.STORYBOOK_S3_SECRET_KEY }} \ No newline at end of file From aea986da2dfa027e876d3cb9c48040f0f56f224b Mon Sep 17 00:00:00 2001 From: draedful Date: Fri, 4 Oct 2024 18:49:00 +0300 Subject: [PATCH 06/11] combine build and deply in one action --- .github/workflows/pr-preview-build.yml | 15 +++++++++++++-- .github/workflows/pr-preview-deploy.yml | 20 -------------------- 2 files changed, 13 insertions(+), 22 deletions(-) delete mode 100644 .github/workflows/pr-preview-deploy.yml diff --git a/.github/workflows/pr-preview-build.yml b/.github/workflows/pr-preview-build.yml index db0b617..ba0ad57 100644 --- a/.github/workflows/pr-preview-build.yml +++ b/.github/workflows/pr-preview-build.yml @@ -1,4 +1,4 @@ -name: PR Preview Build +name: PR Preview on: pull_request: @@ -10,4 +10,15 @@ jobs: steps: - uses: gravity-ui/preview-build-action@v2 with: - node-version: 18 \ No newline at end of file + node-version: 18 + deploy: + name: Deploy + needs: build + runs-on: ubuntu-latest + steps: + - uses: gravity-ui/preview-deploy-action@v2 + with: + project: graph + github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }} + s3-key-id: ${{ secrets.STORYBOOK_S3_KEY_ID }} + s3-secret-key: ${{ secrets.STORYBOOK_S3_SECRET_KEY }} \ No newline at end of file diff --git a/.github/workflows/pr-preview-deploy.yml b/.github/workflows/pr-preview-deploy.yml deleted file mode 100644 index 775da36..0000000 --- a/.github/workflows/pr-preview-deploy.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: PR Preview Deploy - -on: - workflow_run: - workflows: ['PR Preview Build'] - types: - - completed - -jobs: - deploy: - name: Deploy - if: ${{github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'}} - runs-on: ubuntu-latest - steps: - - uses: gravity-ui/preview-deploy-action@v2 - with: - project: graph - github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }} - s3-key-id: ${{ secrets.STORYBOOK_S3_KEY_ID }} - s3-secret-key: ${{ secrets.STORYBOOK_S3_SECRET_KEY }} \ No newline at end of file From 12d589b5e9a3828ba63c53f4ce2cd6a3a22c4e33 Mon Sep 17 00:00:00 2001 From: draedful Date: Fri, 4 Oct 2024 18:52:56 +0300 Subject: [PATCH 07/11] another test --- .github/workflows/pr-preview-build.yml | 15 ++------------- .github/workflows/pr-preview-deploy.yml | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/pr-preview-deploy.yml diff --git a/.github/workflows/pr-preview-build.yml b/.github/workflows/pr-preview-build.yml index ba0ad57..db0b617 100644 --- a/.github/workflows/pr-preview-build.yml +++ b/.github/workflows/pr-preview-build.yml @@ -1,4 +1,4 @@ -name: PR Preview +name: PR Preview Build on: pull_request: @@ -10,15 +10,4 @@ jobs: steps: - uses: gravity-ui/preview-build-action@v2 with: - node-version: 18 - deploy: - name: Deploy - needs: build - runs-on: ubuntu-latest - steps: - - uses: gravity-ui/preview-deploy-action@v2 - with: - project: graph - github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }} - s3-key-id: ${{ secrets.STORYBOOK_S3_KEY_ID }} - s3-secret-key: ${{ secrets.STORYBOOK_S3_SECRET_KEY }} \ No newline at end of file + node-version: 18 \ No newline at end of file diff --git a/.github/workflows/pr-preview-deploy.yml b/.github/workflows/pr-preview-deploy.yml new file mode 100644 index 0000000..74db3e8 --- /dev/null +++ b/.github/workflows/pr-preview-deploy.yml @@ -0,0 +1,22 @@ +name: PR Preview Deploy + +on: + workflow_run: + workflows: ['PR Preview Build'] + types: + - completed + +jobs: + deploy: + name: Deploy + if: > + github.event.workflow_run.event == 'pull_request' && + github.event.workflow_run.conclusion == 'success' + runs-on: ubuntu-latest + steps: + - uses: gravity-ui/preview-deploy-action@v2 + with: + project: graph + github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }} + s3-key-id: ${{ secrets.STORYBOOK_S3_KEY_ID }} + s3-secret-key: ${{ secrets.STORYBOOK_S3_SECRET_KEY }} \ No newline at end of file From afc27d7cf20faba4a810c0a9ffa5d792c98ddf84 Mon Sep 17 00:00:00 2001 From: draedful Date: Fri, 4 Oct 2024 19:07:26 +0300 Subject: [PATCH 08/11] test --- .github/workflows/pr-preview-deploy.yml | 2 +- .../workflows/test-ci-depending-execution.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test-ci-depending-execution.yml diff --git a/.github/workflows/pr-preview-deploy.yml b/.github/workflows/pr-preview-deploy.yml index 74db3e8..f2e133a 100644 --- a/.github/workflows/pr-preview-deploy.yml +++ b/.github/workflows/pr-preview-deploy.yml @@ -2,7 +2,7 @@ name: PR Preview Deploy on: workflow_run: - workflows: ['PR Preview Build'] + workflows: [PR Preview Build] types: - completed diff --git a/.github/workflows/test-ci-depending-execution.yml b/.github/workflows/test-ci-depending-execution.yml new file mode 100644 index 0000000..5ab0c1a --- /dev/null +++ b/.github/workflows/test-ci-depending-execution.yml @@ -0,0 +1,16 @@ +on: + workflow_run: + workflows: [PR Preview Build] + types: [completed] + +jobs: + on-success: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: + - run: echo 'The triggering workflow passed' + on-failure: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'failure' }} + steps: + - run: echo 'The triggering workflow failed' \ No newline at end of file From 1bdc51eb33be2ff2271efbd75161059812534cb0 Mon Sep 17 00:00:00 2001 From: draedful Date: Fri, 4 Oct 2024 19:11:33 +0300 Subject: [PATCH 09/11] delete test ci-aciton --- .../workflows/test-ci-depending-execution.yml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .github/workflows/test-ci-depending-execution.yml diff --git a/.github/workflows/test-ci-depending-execution.yml b/.github/workflows/test-ci-depending-execution.yml deleted file mode 100644 index 5ab0c1a..0000000 --- a/.github/workflows/test-ci-depending-execution.yml +++ /dev/null @@ -1,16 +0,0 @@ -on: - workflow_run: - workflows: [PR Preview Build] - types: [completed] - -jobs: - on-success: - runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} - steps: - - run: echo 'The triggering workflow passed' - on-failure: - runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'failure' }} - steps: - - run: echo 'The triggering workflow failed' \ No newline at end of file From 9f9036b6ff053d2a7b7f7b0a8836fa80f2f84ab9 Mon Sep 17 00:00:00 2001 From: draedful Date: Fri, 4 Oct 2024 19:12:43 +0300 Subject: [PATCH 10/11] some test --- .github/workflows/pr-preview-deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-preview-deploy.yml b/.github/workflows/pr-preview-deploy.yml index f2e133a..03e5d38 100644 --- a/.github/workflows/pr-preview-deploy.yml +++ b/.github/workflows/pr-preview-deploy.yml @@ -1,6 +1,7 @@ name: PR Preview Deploy on: + pull_request: workflow_run: workflows: [PR Preview Build] types: From fd0f4b91ffa38658be7c18011f3f20ab5d2b94aa Mon Sep 17 00:00:00 2001 From: draedful Date: Fri, 4 Oct 2024 19:14:04 +0300 Subject: [PATCH 11/11] revert --- .github/workflows/pr-preview-deploy.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pr-preview-deploy.yml b/.github/workflows/pr-preview-deploy.yml index 03e5d38..f2e133a 100644 --- a/.github/workflows/pr-preview-deploy.yml +++ b/.github/workflows/pr-preview-deploy.yml @@ -1,7 +1,6 @@ name: PR Preview Deploy on: - pull_request: workflow_run: workflows: [PR Preview Build] types: