From a0666d9c5752c4271af24bd1f08800ced9af0603 Mon Sep 17 00:00:00 2001 From: Vincent Vatelot Date: Fri, 8 Dec 2023 16:21:10 +0100 Subject: [PATCH] ci: create virtualenv --- .github/workflows/pr_validation.yml | 7 +++++-- .github/workflows/quality_check.yml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_validation.yml b/.github/workflows/pr_validation.yml index dbcac0f..4d65862 100644 --- a/.github/workflows/pr_validation.yml +++ b/.github/workflows/pr_validation.yml @@ -6,10 +6,9 @@ on: permissions: pull-requests: read - contents: write jobs: - pr-lint: + title-lint: name: Validate PR title runs-on: ubuntu-latest concurrency: pr-lint @@ -19,6 +18,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} triage: + permissions: + contents: write runs-on: ubuntu-latest concurrency: triage steps: @@ -28,6 +29,8 @@ jobs: repo-token: "${{ secrets.GITHUB_TOKEN }}" size-label: + permissions: + contents: write runs-on: ubuntu-latest concurrency: size-label steps: diff --git a/.github/workflows/quality_check.yml b/.github/workflows/quality_check.yml index d53899f..6f41d22 100644 --- a/.github/workflows/quality_check.yml +++ b/.github/workflows/quality_check.yml @@ -20,7 +20,7 @@ jobs: - name: Install poetry and plugins run: | curl -sSL https://install.python-poetry.org | python - - poetry config virtualenvs.create false + poetry config virtualenvs.create true poetry self add poetry-multiproject-plugin poetry self add poetry-polylith-plugin - name: Install dependencies