Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/update_galata_references.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Echo repo name
run: echo ${{ github.head_ref }}

- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
with:
Expand Down Expand Up @@ -68,21 +71,16 @@ jobs:
optipng *.png
working-directory: ui-tests/tests/bqplot.test.ts-snapshots

- name: Echo repo name
run: echo ${{ github.event.repository.html_url }}

- name: Commit reference images
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'

git remote set-url ${{ github.event.repository.html_url }}

git pull
git pull ${{ github.head_ref }}

git add ui-tests/tests/bqplot.test.ts-snapshots

git commit -m "Update Galata References"
git push
git push ${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}