From 678a76a029e365693c346f64d044bbf1cab5154a Mon Sep 17 00:00:00 2001 From: Tanishq Dubey Date: Sat, 10 May 2025 12:55:35 -0400 Subject: [PATCH] more fixes --- .gitea/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1b1ec5c3b..0a707e09c 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -5,7 +5,7 @@ on: schedule: # This expression means "run every 3 minutes". Useful for testing. # 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: # workflow_dispatch: @@ -61,7 +61,7 @@ jobs: DWSAuthor Eight DWSAuthor Nine DWSAuthor Ten - COMMIT_COUNT: 2 # Number of commits to create + COMMIT_COUNT: 12 # Number of commits to create SLEEP_SECONDS: 150 # Delay between commits in seconds 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 @@ -87,6 +87,9 @@ jobs: exit 1 fi + # Shuffle the authors array to randomize the order + authors=($(printf "%s\n" "${authors[@]}" | shuf)) + # Read workflow names into a Bash array IFS=' ' read -r -a workflow_array <<< "$WORKFLOW_NAMES" echo "Workflows to trigger: ${workflow_array[@]}"