Skip to content

Update FlyBase Configuration #4

Update FlyBase Configuration

Update FlyBase Configuration #4

Workflow file for this run

name: Update FlyBase Configuration
on:
workflow_dispatch:
inputs:
FB-release:
required: true
jobs:
flybase-update-conf:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: "Checkout FlyBase BLAST Configuration"
uses: actions/checkout@v4
with:
repository: flybase/blast-db-configuration
path: flybase-blast-db-configuration
- name: "Checkout Alliance BLAST Service Configuration"
uses: actions/checkout@v4
with:
path: agr_blast_service_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:
path: agr_blast_service_configuration
add-paths: "conf/FB/*.json"
commit-message: ${{ github.event.inputs.FB-release }} BLAST config
branch: ${{ github.event.inputs.FB-release }}-blast-config-update
title: "[Update] ${{ github.event.inputs.FB-release }} BLAST config"
body: |
${{ github.event.inputs.FB-release }} BLAST config
delete-branch: true