From 08034c34672de158fcfa2a06cc9d81b2fbfff76f Mon Sep 17 00:00:00 2001 From: martinRenou Date: Wed, 14 Jan 2026 16:56:48 +0100 Subject: [PATCH] Update bot checkout --- .../workflows/update_galata_references.yaml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/update_galata_references.yaml b/.github/workflows/update_galata_references.yaml index 4070260a..d6e4ec77 100644 --- a/.github/workflows/update_galata_references.yaml +++ b/.github/workflows/update_galata_references.yaml @@ -15,25 +15,13 @@ defaults: jobs: update-reference-screenshots: name: Update Galata References - if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'update galata references') }} runs-on: ubuntu-latest + if: github.event.issue.pull_request && contains(github.event.comment.body, 'please update snapshots') steps: - - name: React to the triggering comment - run: | - gh api repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions --raw-field 'content=+1' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Checkout - uses: actions/checkout@v4 + - uses: jupyterlab/maintainer-tools/.github/actions/update-snapshots-checkout@main with: - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Checkout the branch from the PR that triggered the job - run: gh pr checkout ${{ github.event.issue.number }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Install Conda environment with Micromamba uses: mamba-org/setup-micromamba@v2