Skip to content

agentic-wiki-writer template uses invalid 'protected-files' property in create-pull-request #21686

@insop

Description

@insop

Description

When running gh aw to set up the agentic-wiki-writer workflow with the Copilot engine, the workflow template fails validation with the following error:

✗ .github/workflows/agentic-wiki-writer.md:47:5: error: at '/safe-outputs/create-pull-request' (line 47, column 5): Unknown property: protected-files. Valid fields are: allow-empty, allowed-labels, allowed-repos, auto-merge, base-branch, draft, expires, fallback-as-issue, footer, github-token, ...
44 |   create-pull-request:
45 |     title-prefix: "[agentic-wiki]"
46 |     labels: [documentation, automated]
47 |     protected-files: fallback-to-issue
         ^^^^^^^^^^^^^^^
48 |   jobs:
49 |     push-wiki:
50 |       description: >

✗ failed to add workflow: failed to stage workflow files: failed to stage files: exit status 128

Steps to Reproduce

  1. Run gh aw in a repository
  2. Select the agentic-wiki-writer workflow
  3. Select the copilot engine
  4. Complete token setup

Expected Behavior

The workflow files should be generated and staged successfully.

Actual Behavior

Validation fails because protected-files is not a recognized property under create-pull-request. The workflow files are not staged.

Environment

  • gh-aw version: v0.53.4
  • Engine: copilot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions