diff --git a/.github/workflows/update-snapshots.yml b/.github/workflows/update-snapshots.yml index 74749d3c1..0439fdc26 100644 --- a/.github/workflows/update-snapshots.yml +++ b/.github/workflows/update-snapshots.yml @@ -12,12 +12,11 @@ jobs: update-snapshots: if: > ( - github.event.issue.author_association == 'OWNER' || - github.event.issue.author_association == 'COLLABORATOR' || - github.event.issue.author_association == 'MEMBER' + github.event.comment.author_association == 'OWNER' || + github.event.comment.author_association == 'COLLABORATOR' || + github.event.comment.author_association == 'MEMBER' ) && github.event.issue.pull_request && contains(github.event.comment.body, 'please update snapshots') runs-on: ubuntu-latest - steps: - name: React to the triggering comment run: | @@ -74,7 +73,7 @@ jobs: - uses: jupyterlab/maintainer-tools/.github/actions/update-snapshots@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} - start_server_script: 'null' + start_server_script: "null" test_folder: packages/jupyter-ai/ui-tests npm_client: jlpm