From 1903d4defd48e309737150b1db6f8e6b4d4822a6 Mon Sep 17 00:00:00 2001 From: Matthew Watkins <93649628+ModeSevenIndustrialSolutions@users.noreply.github.com> Date: Mon, 23 Oct 2023 18:10:15 +0100 Subject: [PATCH 1/2] Chore: Temporarily enable manual workflow invocation Signed-off-by: Matthew Watkins <93649628+ModeSevenIndustrialSolutions@users.noreply.github.com> --- .github/workflows/linting.yaml | 1 + .github/workflows/security.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index 79b78f7..b864529 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -3,6 +3,7 @@ name: "🧪 Linting checks" # yamllint disable-line rule:truthy on: + workflow_dispatch: pull_request: types: [opened, reopened, edited] diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index 9f1f28c..4429373 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -7,6 +7,7 @@ name: "⛔️ Security auditing" on: # yamllint disable-line rule:truthy + workflow_dispatch: pull_request: types: [opened, reopened, edited] From 9fb77274d74e24d4a92d577512c7142c68b06c0e Mon Sep 17 00:00:00 2001 From: Matthew Watkins <93649628+ModeSevenIndustrialSolutions@users.noreply.github.com> Date: Mon, 23 Oct 2023 18:32:34 +0100 Subject: [PATCH 2/2] Fix: Do not run pdm lock in security workflow Signed-off-by: Matthew Watkins <93649628+ModeSevenIndustrialSolutions@users.noreply.github.com> --- .github/workflows/security.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index 4429373..dbf03e4 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -32,7 +32,7 @@ jobs: - name: "Install dependencies" run: | pip install --upgrade pip - pdm lock + # pdm lock pdm export -o requirements.txt python -m pip install -r requirements.txt python -m pip install .