Skip to content

Commit 0e593ee

Browse files
committed
fix
1 parent 9979a5a commit 0e593ee

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/update-sources.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,14 @@ name: Update Sources
1616

1717
on:
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

2228
jobs:
2329
update-sources:
@@ -83,8 +89,6 @@ jobs:
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 }}"

0 commit comments

Comments
 (0)