From 5dcf627db7d58511cb3a8d0c848080b90637ff9e Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Thu, 20 Jan 2022 09:57:17 +0000 Subject: [PATCH] ignore branch --- .github/workflows/release.yml | 6 +++--- .github/workflows/sizebot.yml | 3 --- scripts/sizebot/index.js | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 65e4660c8..abcaac71b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -91,13 +91,13 @@ jobs: - name: Prepare | Lerna Version run: yarn lerna version --yes --no-private + - name: Sizebot + run: node scripts/sizebot/createCurrentSizes.js + - name: Prepare | Build run: | yarn workspace @codesandbox/sandpack-client build:publish yarn workspace @codesandbox/sandpack-react build:publish - - name: Sizebot - run: node scripts/sizebot/createCurrentSizes.js - - name: Release | Lerna Publish run: lerna publish from-package --yes diff --git a/.github/workflows/sizebot.yml b/.github/workflows/sizebot.yml index 8ba626317..81e4e0930 100644 --- a/.github/workflows/sizebot.yml +++ b/.github/workflows/sizebot.yml @@ -1,9 +1,6 @@ name: Sizebot on: - push: - branches-ignore: - - main pull_request: types: - opened diff --git a/scripts/sizebot/index.js b/scripts/sizebot/index.js index ba5af1bf4..59774f189 100644 --- a/scripts/sizebot/index.js +++ b/scripts/sizebot/index.js @@ -133,7 +133,7 @@ ${removedFiles.join("")}${tableContent.join("")} \n\n await octokit.rest.issues.createComment({ owner, repo, - issue_number: "308", + issue_number, body: `## Size changes ${content.join("")}`,