We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe27d9c commit e9ed388Copy full SHA for e9ed388
.github/workflows/update-workflows.yaml
@@ -66,6 +66,12 @@ jobs:
66
path: depot
67
repository: IronCoreLabs/depot
68
token: ${{ secrets.WORKFLOW_PAT }}
69
+ - name: Randomize
70
+ run: "# Only create the patch file if it doesn't already exist. We don't want\
71
+ \ to change the time every time we run this.\nif ! [ -f thisrepo/.github/update-workflows-patch.yaml\
72
+ \ ] ; then\n (\n echo \"- op: replace\"\n echo \" path: /on/schedule/0/cron\"\
73
+ \n echo \" value: \\\"$(( $RANDOM % 60 )) 7 * * 1\\\"\"\n ) > thisrepo/.github/update-workflows-patch.yaml\n\
74
+ \ # \"git add\" and commit will be taken care of below.\nfi\n"
75
- name: Update workflows
76
id: update
77
working-directory: thisrepo
0 commit comments