1
1
mirror of https://github.com/nektos/act.git synced 2024-10-05 16:37:43 +03:00
2 GitHub Actions compatibility
Ryan edited this page 2022-03-02 19:31:15 +01:00

Supported options in act

This document is work in progress, there are more options supported than what is stated below

Workflow

  • name
  • on
    • <event_name>.types
    • <pull_request|pull_request_target>
      • branches
      • branches-ignore
    • push
      • branches
      • tags
      • branches-ignore
      • tags-ignore
    • schedule
    • workflow_call
    • workflow_run
      • branches
      • branches-ignore
    • workflow_dispatch
  • permissions
  • env
  • defaults
    • run
      • shell
      • working-directory
  • concurrency
  • jobs
    • <job_id>
      • name
      • permissions
      • needs
      • if
      • runs-on
      • environment
      • concurrency
      • outputs
      • env
      • defaults
        • run
          • shell
          • working-directory
      • steps
        • id
        • if
        • name
        • uses
          • composite actions
        • run
        • shell
        • with
          • with.args
          • with.entrypoint
        • env
        • continue-on-error
        • timeout-minutes
      • timeout-minutes
      • strategy
        • matrix
          • current matrix resolution does not match one on GHA #981 #573
          • fail-fast
            • won't actually fail fast
          • max-parallel
      • continue-on-error
      • container
        • image
        • credentials
        • env
        • ports
        • volumes
        • options
          • supports only --hostname
      • services (PR #775)
        • <service_id>
          • image
          • credentials
          • env
          • ports
          • volumes
          • options
      • uses
      • with
      • secrets

Action

  • name
  • description
  • inputs
  • outputs
  • runs
    • using
      • docker
      • node12
      • node16
      • composite
    • image
    • main
    • args
    • steps