Skip to content

Update FlyBase Configuration #3

Update FlyBase Configuration

Update FlyBase Configuration #3

Workflow file for this run

name: Update FlyBase Configuration
on:
workflow_dispatch:
inputs:
FB-release:
required: true
jobs:
update-conf:
runs-on: ubuntu-latest
steps:
- name: "Checkout Alliance BLAST Service Configuration"
uses: actions/checkout@v4
with:
path: agr_blast_service_configuration
- name: "Checkout FlyBase BLAST Configuration"
run: |
git clone https://github.com/FlyBase/blast-db-configuration.git flybase-blast-db-configuration
- name: Copy configuration files
run: |
cd flybase-blast-db-configuration/conf && \
tar cf - *.json | (cd ../../agr_blast_service_configuration/conf/FB/; tar xvBpf -)
- name: Create PR for updated FlyBase conf files
uses: peter-evans/create-pull-request@v7
with:
add-paths: |
agr_blast_service_configuration/conf/FB/*.json
commit-message: ${{ github.event.inputs.FB-release }} BLAST config
branch: ${{ github.event.inputs.FB-release }}-blast-config-update
delete-branch: true
title: '[Update] ${{ github.event.inputs.FB-release }} BLAST config'
body: |
${{ github.event.inputs.FB-release }} BLAST config
draft: false