Skip to content

Commit 2c185f6

Browse files
committed
Up bot
1 parent a87fc51 commit 2c185f6

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/update_galata_references.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ defaults:
1515
jobs:
1616
update-reference-screenshots:
1717
name: Update Galata References
18-
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'update galata references') }}
18+
if: >
19+
(
20+
github.event.issue.author_association == 'OWNER' ||
21+
github.event.issue.author_association == 'COLLABORATOR' ||
22+
github.event.issue.author_association == 'MEMBER'
23+
) && github.event.issue.pull_request && contains(github.event.comment.body, 'please update snapshots')
1924
runs-on: ubuntu-latest
2025

2126
steps:
@@ -27,15 +32,19 @@ jobs:
2732
- name: Configure git to use https
2833
run: git config --global hub.protocol https
2934

35+
- name: Install hub
36+
run: sudo apt-get update && sudo apt-get install -y hub
37+
3038
- name: Checkout the branch from the PR that triggered the job
3139
run: hub pr checkout ${{ github.event.issue.number }}
3240
env:
3341
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3442

35-
- name: Setup conda
43+
- name: Install Conda environment with Micromamba
3644
uses: mamba-org/setup-micromamba@main
3745
with:
3846
environment-file: test-environment.yml
47+
channels: conda-forge
3948

4049
- name: Install bqplot
4150
run: pip install .

0 commit comments

Comments
 (0)