From fbe49453c7491467ba5dfe97e7da16502b17e272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Fri, 28 Apr 2023 09:24:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20Update=20Lockfile=20and?= =?UTF-8?q?=20Requirements=20Workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/poetry.yml | 42 ------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/poetry.yml diff --git a/.github/workflows/poetry.yml b/.github/workflows/poetry.yml deleted file mode 100644 index e9c31e4..0000000 --- a/.github/workflows/poetry.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Update Lockfile and Requirements - -on: - pull_request: - types: - - labeled - -jobs: - update-lockfile-and-requirements: - if: github.event.label.name == 'Update Lockfile and Requirements' - name: Update Lockfile and Requirements - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v3 - with: - python-version: 3.11 - - - name: Install Poetry - run: | - pip install --upgrade pip - pip install poetry - - - name: Install dependencies - run: | - rm -r poetry.lock - poetry install - - - name: Update lockfile and requirements - run: | - poetry lock - poetry export --extras all --without-hashes --format=requirements.txt > requirements.txt - - - name: Upload Lockfile and Requirements - uses: actions/upload-artifact@v3 - with: - path: | - poetry.lock - requirements.txt \ No newline at end of file