Skip to content

Commit

Permalink
Update sync_lab_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mbektas committed Aug 18, 2023
1 parent 5e0729a commit 60a10c9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/sync_lab_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,18 @@ jobs:
if: env.update_available == 'true'
run: conda install -c conda-forge conda conda-lock -y

- name: Create a PR if needed
- name: Update conda lock files
if: env.update_available == 'true'
run: yarn update_conda_lock

- name: Create a PR for the new version
if: env.update_available == 'true'
shell: bash
env:
GITHUB_USER: ${{ secrets.GITHUB_USER }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eux
yarn update_conda_lock
export LATEST=${{ env.latest }}
export BRANCH_NAME=update-to-v${LATEST}
# this will fail if the branch already exists which means we won't have duplicate PRs
Expand Down

0 comments on commit 60a10c9

Please sign in to comment.