Skip to content

Commit 900feb5

Browse files
New release!
1 parent 28ef803 commit 900feb5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/project@francescobianco@matrix-theme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
env:
9-
HACKATHON_PACKAGE_NAME: console
9+
HACKATHON_PACKAGE_NAME: matrix-theme
1010

1111
jobs:
1212
install-mush:

scripts/generate-leaderboard.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ GITHUB_USER="javanile"
44
REPO_NAME="mush-get-started"
55
TOKEN="${GITHUB_TOKEN}"
66

7-
87
FORKS=$(curl -s -H "Authorization: token $TOKEN" "https://api.github.com/repos/$GITHUB_USER/$REPO_NAME/forks" | jq -r '.[].full_name')
98

10-
119
echo "Fork trovati per $GITHUB_USER/$REPO_NAME:"
1210
for FORK in $FORKS; do
1311
echo "Processing fork: $FORK"
1412
# Puoi eseguire operazioni su ogni fork, ad esempio clonarlo:
1513
# git clone "https://github.com/$FORK.git"
16-
cp .github/workflows/template.yml .github/workflows/project@${FORK//\//@}.yml
14+
WORKFLOW=".github/workflows/project@${FORK//\//@}.yml"
15+
cp .github/workflows/template.yml "${WORKFLOW}"
16+
sed -i "s|PACKAGE_NAME: console|PACKAGE_NAME: ${FORK#*/}|g" "${WORKFLOW}"
1717
done
1818

0 commit comments

Comments
 (0)