more fixes
All checks were successful
DDSCA / Datadog SBOM Generation and Upload (push) Successful in 48s
DDSDS / Datadog Static Analyzer (push) Successful in 55s
DDSAST / Datadog Static Analyzer (push) Successful in 1m46s
Scheduled Fake Commits / create_scheduled_commits (push) Successful in 31m2s

This commit is contained in:
Tanishq Dubey 2025-05-10 12:55:35 -04:00
parent c79a74d499
commit 678a76a029
No known key found for this signature in database
GPG Key ID: CFC1931B84DFC3F9

View File

@ -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 <adwsuthor8@example.com>
DWSAuthor Nine <autdwshor9@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
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[@]}"