Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/clean-nightly-releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ name: Clean Old Nightly Releases
on:
schedule:
- cron: '* 6 * * *'
workflow_dispatch:
permissions:
contents: write
jobs:
cleanup:
name: Delete old nightly releases and tags
runs-on: ubuntu-latest
if: github.repository == 'mit-han-lab/nunchaku'
if: github.repository == 'nunchaku-tech/nunchaku'
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-inactive-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read
jobs:
close-inactive-issues:
if: github.repository == 'mit-han-lab/nunchaku'
if: github.repository == 'nunchaku-tech/nunchaku'
runs-on: ubuntu-latest
steps:
- name: Check and close inactive issues
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- main
- dev
pull_request:
jobs:
lint:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/nightly-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,22 @@ name: Nightly Build
on:
schedule:
- cron: '0 8 * * *' # UTC time
workflow_dispatch:
permissions:
contents: write
jobs:
tag:
name: Tag dev branch if dev version
name: Check if main branch is a dev version
runs-on: ubuntu-latest
if: github.repository == 'mit-han-lab/nunchaku'
if: github.repository == 'nunchaku-tech/nunchaku'
outputs:
need_build: ${{ steps.check.outputs.need_build }}
tag_name: ${{ steps.tag.outputs.tag_name }}
steps:
- name: Checkout dev branch
- name: Checkout main branch
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: dev
ref: main
- name: Extract version from __version__.py
id: version
run: |
Expand Down Expand Up @@ -73,7 +72,7 @@ jobs:
name: Build the linux nightly wheels
runs-on: [self-hosted, linux-build]
needs: tag
if: needs.tag.outputs.need_build == 'true' && github.repository == 'mit-han-lab/nunchaku'
if: needs.tag.outputs.need_build == 'true' && github.repository == 'nunchaku-tech/nunchaku'
strategy:
matrix:
python: ["3.10", "3.11", "3.12"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
release:
name: Tag Main Branch and Create Release
runs-on: ubuntu-latest
if: github.repository == 'mit-han-lab/nunchaku'
if: github.repository == 'nunchaku-tech/nunchaku'
outputs:
tag_name: ${{ steps.set-tag.outputs.tag_name }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reopen-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:
contents: read
jobs:
reopen-issue:
if: github.repository == 'mit-han-lab/nunchaku'
if: github.repository == 'nunchaku-tech/nunchaku'
runs-on: ubuntu-latest
steps:
- name: Check if comment is /reopen by issue creator and reopen
Expand Down