From 8e74f98f93874fce64dcc8875799bacbf8fc1dc3 Mon Sep 17 00:00:00 2001 From: LucaZanni Date: Fri, 2 Oct 2026 05:03:27 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(ci):=20extra-index-gitea=20d?= =?UTF-8?q?iventa=20un=20input=20stringa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - su act_runner i boolean passati con with: non arrivano al workflow riusabile: lo step vedeva sempre il default false - type: string con default 'false' in python-quality-gates, python-docker-release, python-dependency-check e python-dependency-outdated - il chiamante scrive extra-index-gitea: 'true'; lo step lo confronta giĆ  come stringa Fixes #19 @25m --- .gitea/workflows/python-dependency-check.yml | 7 +++++-- .gitea/workflows/python-dependency-outdated.yml | 7 +++++-- .gitea/workflows/python-docker-release.yml | 7 +++++-- .gitea/workflows/python-quality-gates.yml | 7 +++++-- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/python-dependency-check.yml b/.gitea/workflows/python-dependency-check.yml index 8519401..c03804d 100644 --- a/.gitea/workflows/python-dependency-check.yml +++ b/.gitea/workflows/python-dependency-check.yml @@ -16,8 +16,11 @@ on: description: >- Aggiunge il registry PyPI privato di Gitea (PZeta_Touch) come indice extra di pip, autenticato con i secrets G_USER / NPM_TOKEN (serve 'secrets: inherit'). - type: boolean - default: false + # Stringa e non boolean: su act_runner i valori boolean passati con with: da un + # workflow chiamante non arrivano al workflow riusabile (resta il default false), + # mentre le stringhe si. Il chiamante scrive extra-index-gitea: 'true'. + type: string + default: 'false' workflow_dispatch: jobs: diff --git a/.gitea/workflows/python-dependency-outdated.yml b/.gitea/workflows/python-dependency-outdated.yml index aff10b7..3a869d3 100644 --- a/.gitea/workflows/python-dependency-outdated.yml +++ b/.gitea/workflows/python-dependency-outdated.yml @@ -16,8 +16,11 @@ on: description: >- Aggiunge il registry PyPI privato di Gitea (PZeta_Touch) come indice extra di pip, autenticato con i secrets G_USER / NPM_TOKEN (serve 'secrets: inherit'). - type: boolean - default: false + # Stringa e non boolean: su act_runner i valori boolean passati con with: da un + # workflow chiamante non arrivano al workflow riusabile (resta il default false), + # mentre le stringhe si. Il chiamante scrive extra-index-gitea: 'true'. + type: string + default: 'false' workflow_dispatch: jobs: diff --git a/.gitea/workflows/python-docker-release.yml b/.gitea/workflows/python-docker-release.yml index 997cb4c..a46332e 100644 --- a/.gitea/workflows/python-docker-release.yml +++ b/.gitea/workflows/python-docker-release.yml @@ -21,8 +21,11 @@ on: description: >- Aggiunge il registry PyPI privato di Gitea (PZeta_Touch) come indice extra di pip, autenticato con i secrets G_USER / NPM_TOKEN (serve 'secrets: inherit'). - type: boolean - default: false + # Stringa e non boolean: su act_runner i valori boolean passati con with: da un + # workflow chiamante non arrivano al workflow riusabile (resta il default false), + # mentre le stringhe si. Il chiamante scrive extra-index-gitea: 'true'. + type: string + default: 'false' dockerfile: description: 'Path al Dockerfile' type: string diff --git a/.gitea/workflows/python-quality-gates.yml b/.gitea/workflows/python-quality-gates.yml index 70e469f..cd499d4 100644 --- a/.gitea/workflows/python-quality-gates.yml +++ b/.gitea/workflows/python-quality-gates.yml @@ -18,8 +18,11 @@ on: description: >- Aggiunge il registry PyPI privato di Gitea (PZeta_Touch) come indice extra di pip, autenticato con i secrets G_USER / NPM_TOKEN (serve 'secrets: inherit'). - type: boolean - default: false + # Stringa e non boolean: su act_runner i valori boolean passati con with: da un + # workflow chiamante non arrivano al workflow riusabile (resta il default false), + # mentre le stringhe si. Il chiamante scrive extra-index-gitea: 'true'. + type: string + default: 'false' jobs: python-quality-gates: