From 6082e68a1f03e7352eb2d696b799fa2223b72b50 Mon Sep 17 00:00:00 2001 From: HibiKier <45528451+HibiKier@users.noreply.github.com> Date: Sun, 16 Oct 2022 00:21:00 +0800 Subject: [PATCH] Delete Generate.yml --- .github/workflows/Generate.yml | 38 ---------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .github/workflows/Generate.yml diff --git a/.github/workflows/Generate.yml b/.github/workflows/Generate.yml deleted file mode 100644 index e476ae29..00000000 --- a/.github/workflows/Generate.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Generate poetry.lock - -on: - push: - branches: - - "main" - paths: - - 'pyproject.toml' - -jobs: - poetry_lock: - name: Generate - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Set up Python - uses: he0119/setup-python@main - with: - python-version: "3.9" - - name: poetry lock - run: | - rm -f poetry.lock - sed -i.bak "8,11d" pyproject.toml - poetry lock - mv pyproject.toml.bak pyproject.toml - # commit - - name: commit file - run: | - git config --local user.email "github-actions[bot]@users.noreply.github.com" - git config --local user.name "github-actions[bot]" - git add poetry.lock - git commit -m "Auto generate poetry.lock" -a - # push - - name: push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }}