more fixes
All checks were successful
All checks were successful
This commit is contained in:
parent
c79a74d499
commit
678a76a029
@ -5,7 +5,7 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
# This expression means "run every 3 minutes". Useful for testing.
|
# This expression means "run every 3 minutes". Useful for testing.
|
||||||
# To revert to the original 8-hour schedule, change this to '0 */8 * * *'.
|
# To revert to the original 8-hour schedule, change this to '0 */8 * * *'.
|
||||||
- cron: "*/3 * * * *"
|
- cron: "0 */3 * * *" # Original schedule: every 8 hours
|
||||||
|
|
||||||
# To trigger manually for testing, you can add workflow_dispatch:
|
# To trigger manually for testing, you can add workflow_dispatch:
|
||||||
# workflow_dispatch:
|
# workflow_dispatch:
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
DWSAuthor Eight <adwsuthor8@example.com>
|
DWSAuthor Eight <adwsuthor8@example.com>
|
||||||
DWSAuthor Nine <autdwshor9@example.com>
|
DWSAuthor Nine <autdwshor9@example.com>
|
||||||
DWSAuthor Ten <autdwshor10@example.com>
|
DWSAuthor Ten <autdwshor10@example.com>
|
||||||
COMMIT_COUNT: 2 # Number of commits to create
|
COMMIT_COUNT: 12 # Number of commits to create
|
||||||
SLEEP_SECONDS: 150 # Delay between commits in seconds
|
SLEEP_SECONDS: 150 # Delay between commits in seconds
|
||||||
TARGET_BRANCH: main # The branch to commit to and trigger workflows on
|
TARGET_BRANCH: main # The branch to commit to and trigger workflows on
|
||||||
GITEA_BASE_URL: https://git.dws.rip # Replace with your Gitea instance URL
|
GITEA_BASE_URL: https://git.dws.rip # Replace with your Gitea instance URL
|
||||||
@ -87,6 +87,9 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Shuffle the authors array to randomize the order
|
||||||
|
authors=($(printf "%s\n" "${authors[@]}" | shuf))
|
||||||
|
|
||||||
# Read workflow names into a Bash array
|
# Read workflow names into a Bash array
|
||||||
IFS=' ' read -r -a workflow_array <<< "$WORKFLOW_NAMES"
|
IFS=' ' read -r -a workflow_array <<< "$WORKFLOW_NAMES"
|
||||||
echo "Workflows to trigger: ${workflow_array[@]}"
|
echo "Workflows to trigger: ${workflow_array[@]}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user