feat: use upterm instead of tmate
This commit is contained in:
parent
52918ffa3e
commit
22cd43a9bb
2 changed files with 8 additions and 6 deletions
12
.github/workflows/review.yml
vendored
12
.github/workflows/review.yml
vendored
|
|
@ -38,8 +38,8 @@ on:
|
|||
required: true
|
||||
type: boolean
|
||||
default: true
|
||||
tmate:
|
||||
description: "Start tmate session after nixpkgs-review"
|
||||
upterm:
|
||||
description: "Start upterm session after nixpkgs-review"
|
||||
required: true
|
||||
type: boolean
|
||||
default: false
|
||||
|
|
@ -138,9 +138,11 @@ jobs:
|
|||
ATTIC_SERVER: ${{ vars.ATTIC_SERVER }}
|
||||
ATTIC_CACHE: ${{ vars.ATTIC_CACHE }}
|
||||
ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }}
|
||||
- name: start tmate session
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
if: ${{ inputs.tmate }}
|
||||
- name: start upterm session
|
||||
if: ${{ inputs.upterm }}
|
||||
uses: owenthereal/action-upterm@v1
|
||||
with:
|
||||
limit-access-to-actor: true
|
||||
- name: generate report
|
||||
id: report
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Run [nixpkgs-review](https://github.com/Mic92/nixpkgs-review) in GitHub Actions
|
|||
- No local setup
|
||||
- Automatically post results on the reviewed pull request
|
||||
- Wait for [upstream evaluation](https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/eval.yml) to finish before running nixpkgs-review
|
||||
- Optionally start a [tmate](https://tmate.io/) session after nixpkgs-review has finished to allow interactive testing/debugging via SSH
|
||||
- Optionally start an [upterm](https://upterm.dev/) session after nixpkgs-review has finished to allow interactive testing/debugging via SSH
|
||||
- Push new packages to an [attic](https://github.com/zhaofengli/attic) cache
|
||||
- Add a "Run nixpkgs-review" shortcut to pull request pages in nixpkgs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue