Skip to content

littlehorse-enterprises/action-docs-dispatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

action-docs-dispatch

Composite GitHub Action: checks if docs are required (commit message or PR label) and, when so, dispatches to lh-site.

Use a version tag (e.g. @v1):

- uses: littlehorse-enterprises/action-docs-dispatch@v1
  with:
    check_mode: both
    commit_sha: ${{ github.event.inputs.commit_sha }}
    source_repo: ${{ github.repository }}
    source_ref: ${{ github.ref }}
    source_sha: ${{ github.sha }}
    lh_site_repo: ${{ format('{0}/{1}', github.repository_owner, vars.LH_SITE_REPO) }}
    gh_token: ${{ steps.app-token.outputs.token }}

Secrets: DOCS_DISPATCHER_APP_ID, DOCS_DISPATCHER_APP_PRIVATE_KEY. Variable: LH_SITE_REPO.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages