This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user