From e19c8bad19f8b32581c51efc263aba447f685006 Mon Sep 17 00:00:00 2001 From: Awiteb Date: Wed, 8 May 2024 06:08:27 +0300 Subject: [PATCH] chore(CI): Remove `git-sumi` workflow --- .forgejo/workflows/git-sumi.yml | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 .forgejo/workflows/git-sumi.yml diff --git a/.forgejo/workflows/git-sumi.yml b/.forgejo/workflows/git-sumi.yml deleted file mode 100644 index a753dc2..0000000 --- a/.forgejo/workflows/git-sumi.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Check PR title - -on: - pull_request: - types: - - opened - - edited - - reopened - -jobs: - check_pr_title: - runs-on: debian - steps: - - uses: https://code.forgejo.org/actions/checkout@v4 - - name: Install git-sumi - run: | - curl -s -L "https://github.com/welpo/git-sumi/releases/download/v0.0.6/git-sumi-x86_64-unknown-linux-gnu.tar.xz" -o git-sumi.tar.xz - tar -xf git-sumi.tar.xz - mv git-sumi-x86_64-unknown-linux-gnu/git-sumi git-sumi - chmod +x git-sumi - - name: Run git-sumi - run: | - # Check if the PR are WIP or not (Start with WIP: or wip:) - IS_WIP=$(echo ${{ github.event.pull_request.title }} | grep -i "^WIP:" | wc -l) - if [ $IS_WIP -eq 1 ]; then - echo "Is Work In Progress PR" - exit 0 - fi - ./git-sumi "${{ github.event.pull_request.title }}"