diff --git a/.github/workflows/update-module-manifest.yml b/.github/workflows/update-module-manifest.yml index d01aa43..633d8e3 100644 --- a/.github/workflows/update-module-manifest.yml +++ b/.github/workflows/update-module-manifest.yml @@ -17,13 +17,31 @@ jobs: with: python-version: '3.11' + - name: Configure git + run: | + git config --global user.name 'github-actions[bot]' + git config --global user.email 'github-actions[bot]@users.noreply.github.com' + - name: Update manifest from GitHub topics env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | python3 scripts/python/update_module_manifest.py --log + - name: Check for changes + id: changes + run: | + if git diff --quiet; then + echo "changed=false" >> $GITHUB_OUTPUT + echo "No changes detected in manifest or template files" + else + echo "changed=true" >> $GITHUB_OUTPUT + echo "Changes detected:" + git diff --name-only + fi + - name: Create Pull Request with changes + if: steps.changes.outputs.changed == 'true' uses: peter-evans/create-pull-request@v5 with: commit-message: 'chore: sync module manifest' diff --git a/setup.sh b/setup.sh index 63a25d2..41c53b9 100755 --- a/setup.sh +++ b/setup.sh @@ -337,25 +337,57 @@ show_wow_header() { echo -e "${RED}" cat <<'EOF' - :::. :::::::::.,:::::: :::::::.. ... :::::::::::: :: .: .,-::::: ... :::::::.. .,:::::: - ;;`;; '`````;;;;;;;'''' ;;;;``;;;; .;;;;;;;.;;;;;;;;'''',;; ;;, ,;;;'````' .;;;;;;;. ;;;;``;;;; ;;;;'''' - ,[[ '[[, .n[[' [[cccc [[[,/[[[' ,[[ \[[, [[ ,[[[,,,[[[ [[[ ,[[ \[[,[[[,/[[[' [[cccc - c$$$cc$$$c ,$$P" $$"""" $$$$$$c $$$, $$$ $$ "$$$"""$$$ $$$ $$$, $$$$$$$$$c $$"""" - 888 888,,888bo,_ 888oo,__ 888b "88bo,"888,_ _,88P 88, 888 "88o`88bo,__,o,"888,_ _,88P888b "88bo,888oo,__ - YMM ""` `""*UMM """"YUMMMMMMM "W" "YMMMMMP" MMM MMM YMM "YUMMMMMP" "YMMMMMP" MMMM "W" """"\MMM - ___ ___ ___ ___ ___ ___ ___ - .'`~ ``. .'`~ ``. .'`~ ``. .'`~ ``. .'`~ ``. .'`~ ``. .'`~ ``. - )`_ ._ ( )`_ ._ ( )`_ ._ ( )`_ ._ ( )`_ ._ ( )`_ ._ ( )`_ ._ ( - |(_/^\_)| |(_/^\_)| |(_/^\_)| |(_/^\_)| |(_/^\_)| |(_/^\_)| |(_/^\_)| - `-.`''.-' `-.`''.-' `-.`''.-' `-.`''.-' `-.`''.-' `-.`''.-' `-.`''.-' - """ """ """ """ """ """ """ - - .')'=.'_`.='(`. .')'=.'_`.='(`. .')'=.'_`.='(`. .')'=.'_`.='(`. .')'=.'_`.='(`. .')'=.'_`.='(`. .')'=.'_`.='(`. - :| -.._H_,.- |: :| -.._H_,.- |: :| -.._H_,.- |: :| -.._H_,.- |: :| -.._H_,.- |: :| -.._H_,.- |: :| -.._H_,.- |: - |: -.__H__.- :| |: -.__H__.- :| |: -.__H__.- :| |: -.__H__.- :| |: -.__H__.- :| |: -.__H__.- :| |: -.__H__.- :| - <' `--V--' `> <' `--V--' `> <' `--V--' `> <' `--V--' `> <' `--V--' `> <' `--V--' `> <' `--V--' `> - -art: littlebitspace@https://littlebitspace.com/ + ## + ### :* + ##### .**# + ###### ***## + ****###* *****##. + ******##- ******###. + .*********###= ********### + ************##### #****###:+* ********#### + ***********+****##########**********##**# ********##### + ********=+***********######**********######*#**+*******###+ + -+*****=**************#######*******####**#####**##*****####- + ++**++****************#########**####***####***#####****####: + :++*******************#*******####*****#****######***##*****####### + *= -++++++******************************###**********###******###### + .+***. :++++++++***************************#+*#*-*******************#**+ + ++*****= =+++=+++***************************+**###**************++*#####* + -++*****+++- -=++++++++*********+++++**###**+++=+*###**+*********##+++*+++## + +++*********+++=-=+++++++++****+++***+++++*####***+++**=**#*==***#####*++***+*+ + +++++***********++=-=++++++++*++****=++*++*#######**+=-=+****+*#########***==+*#* + =+++++++*****++++===-++++++++=+++++=++*+=-+#**#**=####****#**+-+**************##* + ++++++++++++++======++++++++=====+++++=-+++*+##########*****==*######*****#### + +++++++=++++++====++++++++++========---++++*****#######**==***#*******####* + ++===++++++++=====+++++++=+++:::--:::.++++++*****####**+=**************# + =+++++=: =+=====-+++++++++++++++++++++==+++--==----:-++++++****####****+=+*+*******: + ++++++++++++++++==+++++++++++++++++++++=+=-===-----:+++++++++**+++****####***+++ + =++++++++++++++++++++++++++++++++++++=++++======----==+++++++=+************: + :++++++++++++++=+++++++++++++++++++======-------:-====+****************. + =----=+++-==++++++*******++++++++++++++===============****************= + -=---==-=====--+++++++++++++++++++++++++++===+++++++********++#***#++****** + +++++========+=====----++++++++++++++++===+++++===--=**********+=++*++******** + +++==========-=============-----:-=++=====+++++++++++++++=-=***********+********* + ==----=+===+=================+++++++++++++++++++++++++=-******************** + .======++++++===============---:::::==++++++++++++++++++++++=**********++*******: + +++==--::-=+++++++++++++========+===--=+- :::=-=++++++++++++++++++++++ +*****++**+*** + .-----::::-=++++++++++++++++++==::-----++. :=+++++++++++++++++++*..-+*********= + :=+++++++++++++++++==.:--===-+++++++++++**++++++:::-******** + ++++++++++++++++++=+++++++++++++**+++++*****==****** + .++++++++++++=-:.-+++++++++***++++************+ + +++=========:.=+=-::++*****+************* + -++++++++==+: ..::=-. ..::::=******** + .+========+==+++==========---::-+*- + ++++++++++++=======-====== + ++++++++++++++======++ + -=======++++++: + ... + :::. :::::::::.,:::::: :::::::.. ... :::::::::::: :: .: .,-::::: ... :::::::.. .,:::::: + ;;`;; '`````;;;;;;;'''' ;;;;``;;;; .;;;;;;;.;;;;;;;;'''',;; ;;, ,;;;'````' .;;;;;;;. ;;;;``;;;; ;;;;'''' + ,[[ '[[, .n[[' [[cccc [[[,/[[[' ,[[ \[[, [[ ,[[[,,,[[[ [[[ ,[[ \[[,[[[,/[[[' [[cccc + c$$$cc$$$c ,$$P" $$"""" $$$$$$c $$$, $$$ $$ "$$$"""$$$ $$$ $$$, $$$$$$$$$c $$"""" + 888 888,,888bo,_ 888oo,__ 888b "88bo,"888,_ _,88P 88, 888 "88o`88bo,__,o,"888,_ _,88P888b "88bo,888oo,__ + YMM ""` `""*UMM """"YUMMMMMMM "W" "YMMMMMP" MMM MMM YMM "YUMMMMMP" "YMMMMMP" MMMM "W" """"\MMM EOF echo -e "${NC}" }