Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions