File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,14 @@ name: Update Sources
1616
1717on :
1818 schedule :
19- - cron : ' 0 0 * * *' # Daily at midnight
19+ - cron : ' 0 */2 * * *' # every 2 hours
2020 workflow_dispatch : # Manual trigger
21+ repository_dispatch :
22+ types : [ release ]
23+
24+ permissions :
25+ contents : write
26+ pull-requests : write
2127
2228jobs :
2329 update-sources :
8389 with :
8490 token : ${{ secrets.GITHUB_TOKEN }}
8591 commit-message : " chore: update sources.json to ${{ steps.update_script.outputs.version }}"
86- committer : " github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
87- author : " github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
8892 branch : " automation/update-sources-${{ steps.update_script.outputs.version }}"
8993 delete-branch : true
9094 title : " chore: update rustfs to ${{ steps.update_script.outputs.version }}"
You can’t perform that action at this time.
0 commit comments