Skip to content

Commit

Permalink
Rotate modal and pypi tokens (#372)
Browse files Browse the repository at this point in the history
## Summary
<!--- This is a required section; please describe the main purpose of
this proposed code change. --->

<!---
## Details
This is an optional section; is there anything specific that reviewers
should be aware of?
--->

## Testing Done
<!--- This is a required section; please describe how this change was
tested. --->

<!-- 
Replace BLANK with your device type. For example, A100-80G-PCIe

Complete the following tasks before sending your PR, and replace `[ ]`
with
`[x]` to indicate you have done them. 
-->

Rotated modal and pypi tokens for security reasons.

- Hardware Type: <BLANK>
- [ ] run `make test` to ensure correctness
- [ ] run `make checkstyle` to ensure code style
- [ ] run `make test-convergence` to ensure convergence
  • Loading branch information
ByronHsu authored Nov 9, 2024
1 parent 7b52832 commit 43d842d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Publish package to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_PASSWORD: ${{ secrets.PYPI_NIGHTLY_PASSWORD }}
run: |
twine upload dist/*
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,3 +379,4 @@ Biblatex entry:
↑ Back to Top ↑
</a>
</p>

2 changes: 2 additions & 0 deletions src/liger_kernel/env_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

def print_env_report():
"""
Prints a report of the environment. Useful for debugging and reproducibility.
Usage:
```
python -m liger_kernel.env_report
```
"""
print("Environment Report:")
print("-------------------")
Expand Down

0 comments on commit 43d842d

Please sign in to comment.