Skip to content

add word boundary for input, output and topic linting #7

add word boundary for input, output and topic linting

add word boundary for input, output and topic linting #7

name: generate nf-core/tools API docs
on:
push:
branches:
- dev
paths:
- nf_core/**/*.py
release:
types: [published]
workflow_dispatch:
inputs:
ref_name:
description: "The branch or tag to build the API docs for"
required: true
default: "dev"
# Cancel if a newer run is started
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
api-docs:
name: trigger API docs build on website repo
runs-on: ubuntu-latest
steps:
- name: trigger API docs build
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ secrets.nf_core_bot_auth_token }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'nf-core',
repo: 'website',
workflow_id: 'add-tools-api-docs.yml',
ref: 'main',
inputs: {
"ref_name": "${{ inputs.ref_name || github.ref_name }}"
},
})