Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fengzch-das
nunchaku
Commits
e2953c01
Commit
e2953c01
authored
Jul 23, 2025
by
Muyang Li
Browse files
chore: change workflow dispatch to repository dispatch
parent
c29d13c2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
.github/workflows/release-build.yaml
.github/workflows/release-build.yaml
+3
-2
.github/workflows/sync-hf-to-ms.yaml
.github/workflows/sync-hf-to-ms.yaml
+3
-2
No files found.
.github/workflows/release-build.yaml
View file @
e2953c01
name
:
Release Build
name
:
Release Build
on
:
on
:
workflow_dispatch
:
repository_dispatch
:
types
:
[
release-build
]
permissions
:
permissions
:
contents
:
write
contents
:
write
jobs
:
jobs
:
release
:
release
:
name
:
Tag Main Branch and Create Release
name
:
Tag Main Branch and Create Release
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
if
:
github.repository == 'nunchaku-tech/nunchaku'
if
:
github.repository == 'nunchaku-tech/nunchaku'
&& github.actor == 'lmxyy'
outputs
:
outputs
:
tag_name
:
${{ steps.set-tag.outputs.tag_name }}
tag_name
:
${{ steps.set-tag.outputs.tag_name }}
steps
:
steps
:
...
...
.github/workflows/sync-hf-to-ms.yaml
View file @
e2953c01
...
@@ -2,11 +2,12 @@ name: Synchronize HuggingFace Repos to ModelScope
...
@@ -2,11 +2,12 @@ name: Synchronize HuggingFace Repos to ModelScope
on
:
on
:
schedule
:
schedule
:
-
cron
:
'
0
3
*
*
*'
# Run every day at 03:00 UTC
-
cron
:
'
0
3
*
*
*'
# Run every day at 03:00 UTC
# workflow_dispatch: # Allow manual trigger from GitHub UI
repository_dispatch
:
types
:
[
sync-hf-to-ms
]
jobs
:
jobs
:
sync
:
sync
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
if
:
github.repository == 'nunchaku-tech/nunchaku'
if
:
github.repository == 'nunchaku-tech/nunchaku'
&& (github.event_name != 'repository_dispatch' || github.actor == 'lmxyy')
strategy
:
strategy
:
matrix
:
matrix
:
repo
:
repo
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment