# actionlint configuration
# See: https://github.com/rhysd/actionlint/blob/main/docs/config.md

self-hosted-runner:
  labels: []

# Configuration variables defined in the repository/organization.
# Set to null to disable strict checking.
# Only variables referenced via ${{ vars.* }} in workflow YAML belong here.
# HVE_DEVCONTAINER_IMAGE and HVE_GITHUB_API_URL are environment variables
# consumed at runtime, not GitHub configuration variables.
config-variables:
  - GH_AW_DEFAULT_DETECTION_MAX_AI_CREDITS
  - GH_AW_DEFAULT_MAX_AI_CREDITS
  - GH_AW_DEFAULT_MAX_DAILY_AI_CREDITS
  - GH_AW_DEFAULT_MAX_TURNS
  - GH_AW_DEFAULT_MODEL_COPILOT
  - GH_AW_MODEL_AGENT_COPILOT
  - GH_AW_MODEL_DETECTION_COPILOT
  - HVE_GITHUB_RELEASES_URL
  - HVE_PSGALLERY_REPOSITORY
  - HVE_PSGALLERY_SOURCE_URL
  - RELEASE_APP_ID

# Path-specific configurations for generated lock files.
# Lock files are produced by `gh aw compile` and contain shell scripts
# that trigger shellcheck info/style diagnostics outside our control.
paths:
  .github/workflows/agentics-maintenance.yml:
    # Generated by `gh aw compile` (pkg/workflow/maintenance_workflow.go); marked
    # DO NOT EDIT. Emits an empty-string choice option for the optional operation
    # input, which actionlint flags but is intentional product output.
    ignore:
      - "string should not be empty"
  .github/workflows/*.lock.yml:
    ignore:
      # gh aw compile emits `concurrency.queue`, a gh-aw extension that is not
      # part of the official GitHub Actions concurrency schema actionlint checks.
      - "unexpected key \"queue\" for \"concurrency\" section"
      - "shellcheck reported issue in this script: SC2015:.+"
      - "shellcheck reported issue in this script: SC2016:.+"
      - "shellcheck reported issue in this script: SC2086:.+"
      - "shellcheck reported issue in this script: SC2129:.+"
      - 'unexpected key "queue" for "concurrency" section.+'
