This action leaves comments on pull requests and commits with Weights & Biases run summaries and comparisons.
For a full example, see this repository.
- name: Run experiment that reports to Weights & Biases
run: python train.py
env:
WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }}
- name: Report WandB Results
uses: bencevans/wandb-action@v1
env:
GITHUB_TOKEN: ${{ github.token }}
WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }}
# Optional. Defaults to the repository owner/name.
# WANDB_ENTITY: ${{ secrets.WANDB_ENTITY }}
# WANDB_PROJECT: ${{ secrets.WANDB_PROJECT }}
WANDB_API_KEY
.WANDB_ENTITY
and WANDB_PROJECT
.WANDB_API_KEY
- API key for Weights & Biases. You can find this in your account settings.GITHUB_TOKEN
- Token for GitHub. This is automatically generated by GitHub Actions but needs to be passed to the action.WANDB_PROJECT
- Project name to use for the run. Defaults to the repository name.WANDB_ENTITY
- Entity name to use for the run. Defaults to the repository owner.