From 7d412b956e5dc525bb0feffa5603556f7c487828 Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Wed, 3 Mar 2021 18:45:26 +0800 Subject: [PATCH] chore: delete build size bot We've found a vulnerability in the way we configured this action. See https://securitylab.github.com/research/github-actions-preventing-pwn-requests --- .github/workflows/build-size.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .github/workflows/build-size.yml diff --git a/.github/workflows/build-size.yml b/.github/workflows/build-size.yml deleted file mode 100644 index 9ffbeed8654c..000000000000 --- a/.github/workflows/build-size.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build Size Report - -on: - pull_request_target: - branches: - - master - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - # Workaround for https://github.com/preactjs/compressed-size-action/issues/54 - with: - ref: ${{ github.event.pull_request.head.sha }} - - uses: preactjs/compressed-size-action@v2 - with: - repo-token: '${{ secrets.GITHUB_TOKEN }}' - build-script: 'build:v2:en' - pattern: '{website/build/assets/js/main*js,website/build/assets/css/styles*css,website/build/index.html,website/build/blog/**/introducing-docusaurus/*,website/build/docs/introduction/index.html}' - strip-hash: '\.([^;]\w{7})\.' - minimum-change-threshold: 30 - compression: 'none'