feat: use upterm instead of tmate

This commit is contained in:
Defelo 2025-01-30 00:42:14 +01:00
commit 22cd43a9bb
No known key found for this signature in database
GPG key ID: 2A05272471204DD3
2 changed files with 8 additions and 6 deletions

View file

@ -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: |

View file

@ -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