-
Notifications
You must be signed in to change notification settings - Fork 2
fix: fix-generate-lockfile #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Pablo Garay <pagaray@nvidia.com>
7481952 to
14ecb2c
Compare
|
/ok to test c300eb2 |
| uses: actions/checkout@v4 | ||
| with: | ||
| submodules: recursive | ||
| token: ${{ secrets.PAT }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why does this need a PAT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because with github_token by Github rules the auto-commit disables the GHA CI automatic checks after. This is why needed to add this line change. We want GHA CI checks to run after the uv lock file autocommit. Otherwise the users cannot merge and need to get it unstuck (reset soft + re-commit with user name) which users do not have a clue about
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this similar workflow not need it?
https://github.com/NVIDIA-NeMo/Automodel/blob/main/.github/workflows/uv-lock-generation.yml
Here's an example of it working.
NVIDIA-NeMo/Automodel#776
Test run passed & behavior is as expected:
https://github.com/NVIDIA-NeMo/DFM/actions/runs/19349821013/job/55358881514