Skip to content

hail search dataset version release #71

hail search dataset version release

hail search dataset version release #71

name: hail search dataset version release
on:
workflow_dispatch:
inputs:
reference_genome:
type: choice
description: Reference Genome
options:
- GRCh37
- GRCh38
required: true
dataset_type:
type: choice
description: Dataset Type
options:
- SNV_INDEL
- MITO
- GCNV
- SV
required: true
version:
required: true
jobs:
helm_update:
runs-on: ubuntu-latest
steps:
- name: Retrieve tgg-helm repo for broad seqr chart
uses: actions/checkout@v3
with:
repository: broadinstitute/tgg-helm
token: ${{ secrets.SEQR_VERSION_UPDATE_TOKEN }}
ref: main
persist-credentials: false
fetch-depth: 0
- name: update dataset version in the broad-seqr chart
uses: mikefarah/[email protected]
with:
cmd: >
yq -i '.global.hail_search.datasetVersions.${{ inputs.reference_genome }}/${{ inputs.dataset_type }} = "${{ inputs.version }}"' charts/broad-seqr/values.yaml
- name: Commit and Push changes
uses: Andro999b/[email protected]
with:
repository: broadinstitute/tgg-helm
branch: main
github_token: ${{ secrets.SEQR_VERSION_UPDATE_TOKEN }}
author_email: ${{ github.actor }}@users.noreply.github.com
author_name: tgg-automation
message: "Updating ${{ inputs.reference_genome }}/${{ inputs.dataset_type }} dataset version to ${{ inputs.version }}"