Run nixpkgs-review in GitHub Actions
- JavaScript 75.8%
- Nix 24.2%
| .github/workflows | ||
| LICENSE | ||
| README.md | ||
nixpkgs-review-gha
Run nixpkgs-review in GitHub Actions
Features
- Build on
x86_64-linux,aarch64-linux,x86_64-darwinandaarch64-darwin - No local setup
- Automatically post results on the reviewed pull request
- Wait for upstream evaluation to finish before running nixpkgs-review
- Optionally start a tmate session after nixpkgs-review has finished to allow interactive testing/debugging via SSH
Setup
- Fork this repository.
- In your fork, go to the Actions tab and enable GitHub Actions workflows.
- (optional) If you want nixpkgs-review-gha to automatically post the results on the reviewed pull requests, you need to generate a personal access token:
- Go to https://github.com/settings/tokens and generate a new classic token with the
public_reposcope. - In your fork, go to "Settings" > "Secrets and variables" > "actions" and add a new repository secret:
- name:
GH_TOKEN - value: the personal access token you generated before
- name:
- Go to https://github.com/settings/tokens and generate a new classic token with the
Usage
- Open the review workflow in the "Actions" tab
- Click on "Run workflow"
- Enter the number of the pull request in nixpkgs you would like to review and click on "Run workflow"
- Reload the page if necessary and click on the review run to see the logs