Skip to content

Commit

Permalink
ci: Add code-freeze workflow (#367)
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Koenig <[email protected]>
  • Loading branch information
ko3n1g authored Nov 14, 2024
1 parent 00ba835 commit 11652dc
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release-freeze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Code freeze'

on:
workflow_dispatch:
inputs:
release-type:
type: choice
description: Type of release
options:
- major
- minor

jobs:
code-freeze:
uses: NVIDIA/NeMo-FW-CI-templates/.github/workflows/[email protected]
with:
library-name: NeMo Curator
python-package: nemo_curator
release-type: ${{ inputs.release-type }}

secrets:
SLACK_RELEASE_ENDPOINT: ${{ secrets.SLACK_RELEASE_ENDPOINT }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: "Release NeMo Curator"
name: 'Release NeMo Curator'

on:
workflow_dispatch:
Expand All @@ -36,7 +36,7 @@ jobs:
prune-filter-timerange: 24h
python-package: nemo_curator
container-workdir: /opt/NeMo-Curator
library-name: NeMo-Curator
library-name: NeMo Curator
secrets:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
Expand Down

0 comments on commit 11652dc

Please sign in to comment.