diff --git a/.github/workflows/clean-nightly-releases.yaml b/.github/workflows/clean-nightly-releases.yaml index e2eaa483..a1c47929 100644 --- a/.github/workflows/clean-nightly-releases.yaml +++ b/.github/workflows/clean-nightly-releases.yaml @@ -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 diff --git a/.github/workflows/close-inactive-issues.yaml b/.github/workflows/close-inactive-issues.yaml index fa7d82f9..c9872fd3 100644 --- a/.github/workflows/close-inactive-issues.yaml +++ b/.github/workflows/close-inactive-issues.yaml @@ -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 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index e660835c..a008bf2e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -3,7 +3,6 @@ on: push: branches: - main - - dev pull_request: jobs: lint: diff --git a/.github/workflows/nightly-build.yaml b/.github/workflows/nightly-build.yaml index 19d276db..0edc352c 100644 --- a/.github/workflows/nightly-build.yaml +++ b/.github/workflows/nightly-build.yaml @@ -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: | @@ -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"] diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index ed338827..98437033 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -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: diff --git a/.github/workflows/reopen-issues.yaml b/.github/workflows/reopen-issues.yaml index 3af50b87..f36b87c1 100644 --- a/.github/workflows/reopen-issues.yaml +++ b/.github/workflows/reopen-issues.yaml @@ -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