Single Actions Configuration

Inputs for running single actions in Copilot

Single Actions Configuration

These inputs are used when you run the action in single-action mode. For the complete list of all action inputs, see Configuration.

Required for single-action mode

InputDescriptionExample
single-actionThe action to runcheck_progress_action, think_action, create_release, etc.
tokenGitHub PAT (required for almost all single actions)${{ secrets.PAT }}

When the action needs an issue

For check_progress_action, detect_potential_problems_action, recommend_steps_action, and deployed_action:

InputDescriptionExample
single-action-issueIssue number to run the action on'123'

When the action needs a version (release or tag)

For create_release and create_tag:

InputDescriptionExample
single-action-versionVersion string (e.g. semver)'1.2.0'

For create_release only:

InputDescriptionExample
single-action-titleRelease title'Release 1.2.0'
single-action-changelogChangelog or release notes body (markdown)Multi-line string or file content

Example: workflow with single action

- uses: vypdev/copilot@master
  with:
    token: ${{ secrets.PAT }}
    single-action: check_progress_action
    single-action-issue: '123'

For release:

- uses: vypdev/copilot@master
  with:
    token: ${{ secrets.PAT }}
    single-action: create_release
    single-action-version: '1.2.0'
    single-action-title: 'Release 1.2.0'
    single-action-changelog: |
      ## New features
      - Added X
      ## Fixes
      - Fixed Y

See Workflow & CLI for more examples and CLI equivalents.