Megatron Tag Bump Bot #143
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Regularly updates the CI container | |
name: Megatron Tag Bump Bot | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 0 * * * | |
jobs: | |
update-weekly-branch: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: main | |
- name: Set Git config | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "Github Actions" | |
- name: Merge main back to weekly-bump | |
run: | | |
git fetch --unshallow | |
git checkout weekly-bump | |
git pull | |
git merge --no-ff main -m "chore: Auto-merge main back to dev" | |
git push | |
mcore: | |
uses: NVIDIA/NeMo-FW-CI-templates/.github/workflows/[email protected] | |
needs: [update-weekly-branch] | |
with: | |
source-repository: NVIDIA/Megatron-LM | |
source-ref: main | |
argument: MCORE_TAG | |
file: reinstall.sh | |
base-branch: weekly-bump | |
cicd-labels: Run CICD | |
pr-reviewers: 'pablo-garay' | |
secrets: | |
PAT: ${{ secrets.PAT }} |