From 23aa040a07a7f9926120772571bc7f23a7d1d0da Mon Sep 17 00:00:00 2001 From: Marco Da Re Date: Thu, 25 Jun 2026 07:29:35 +0200 Subject: [PATCH] ci: aggiungi workflow hello CI --- .gitea/workflows/hello.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitea/workflows/hello.yml diff --git a/.gitea/workflows/hello.yml b/.gitea/workflows/hello.yml new file mode 100644 index 0000000..9b1e803 --- /dev/null +++ b/.gitea/workflows/hello.yml @@ -0,0 +1,33 @@ +name: Hello CI + +on: + push: + branches: + - main + - master + +jobs: + informazioni: + runs-on: ubuntu-latest + + steps: + - name: Scarica il codice + uses: actions/checkout@v4 + + - name: Informazioni sul push + run: | + echo "==========================================" + echo "Repository: ${{ github.repository }}" + echo "Branch: ${{ github.ref_name }}" + echo "Autore: ${{ github.actor }}" + echo "Commit SHA: ${{ github.sha }}" + echo "Tipo evento: ${{ github.event_name }}" + echo "==========================================" + + - name: Statistiche repository + run: | + echo "File nel repository:" + find . -type f -not -path './.git/*' | wc -l + echo "" + echo "Estensioni principali:" + find . -type f -not -path './.git/*' | sed 's/.*\.//' | sort | uniq -c | sort -rn | head -10