Skip to content

gh aw compile reports allowed-base-branches as unknown for safe-outputs.create-pull-reques #27880

@tsm-harmoney

Description

@tsm-harmoney

gh aw compile rejects this workflow:

---
name: "Test"
description: "Test"

on:
  workflow_dispatch:
permissions:
  contents: read
  pull-requests: read

engine:
  id: copilot
  model: gpt-5.4

network:
  allowed:
    - defaults

tools:
  edit:
  bash: true

safe-outputs:
  create-pull-request:
    allowed-base-branches:
      - main
      - release/*
---
test

With this error:

.github\workflows\test.md:25:5: error: Unknown property: allowed-base-branches. Valid fields are: allow-empty, allow-workflows, allowed-files, allowed-labels, allowed-repos, assignees, auto-close-issue, auto-merge, base-branch, draft, ...

Expected: allowed-base-branches should be accepted under safe-outputs.create-pull-request.

Tested on version v0.68.3

Metadata

Metadata

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