Skip to content

Commit 1d304ac

Browse files
authored
Fix update_galata_references github action (#545)
* Fix update_galata_references github action * Correct checkout command
1 parent 0984f7d commit 1d304ac

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

.github/workflows/update_galata_references.yaml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,19 @@ jobs:
1919
runs-on: ubuntu-latest
2020

2121
steps:
22+
- name: React to the triggering comment
23+
run: |
24+
gh api repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions --raw-field 'content=+1'
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
2228
- name: Checkout
2329
uses: actions/checkout@v4
2430
with:
2531
token: ${{ secrets.GITHUB_TOKEN }}
2632

27-
- name: Configure git to use https
28-
run: git config --global hub.protocol https
29-
3033
- name: Checkout the branch from the PR that triggered the job
31-
run: hub pr checkout ${{ github.event.issue.number }}
34+
run: gh pr checkout ${{ github.event.issue.number }}
3235
env:
3336
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3437

@@ -37,7 +40,8 @@ jobs:
3740
with:
3841
environment-file: dev-environment.yml
3942
create-args: >-
40-
python=3.9
43+
python=3.11
44+
4145
- name: Install ipympl
4246
run: pip install .
4347

@@ -47,16 +51,6 @@ jobs:
4751
jlpm playwright install chromium
4852
working-directory: ui-tests
4953

50-
- name: Launch JupyterLab
51-
run: jlpm start:detached
52-
working-directory: ui-tests
53-
54-
- name: Wait for JupyterLab
55-
uses: ifaxity/wait-on-action@v1
56-
with:
57-
resource: http-get://localhost:8888/api
58-
timeout: 20000
59-
6054
- name: Generate updated Galata References
6155
run: jlpm test:update
6256
working-directory: ui-tests
Loading
Loading

0 commit comments

Comments
 (0)