Skip to content

Allow workshop author safe outputs to include top-level workshop markdown files#12

Merged
pelikhan merged 2 commits into
mainfrom
copilot/fix-workshop-author-workflow-issue
Jul 10, 2026
Merged

Allow workshop author safe outputs to include top-level workshop markdown files#12
pelikhan merged 2 commits into
mainfrom
copilot/fix-workshop-author-workflow-issue

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

The workshop author workflow failed when its safe-output PR tried to include workshop/00-welcome.md and workshop/README.md. The allowlist only matched nested markdown paths, so valid workshop files at the top level of workshop/ were rejected.

  • Safe output allowlist

    • Expanded create-pull-request allowed-files to include both top-level and nested workshop markdown:
      • workshop/*.md
      • workshop/**/*.md
  • Lockfile parity

    • Updated the generated safe-output config embedded in workshop-author.lock.yml so runtime behavior matches the authored workflow config.
  • Effect

    • The workflow can now open PRs for the workshop step file and workshop/README.md in the same safe-output patch, which is the expected authoring path.
safe-outputs:
  create-pull-request:
    allowed-files:
      - "workshop/*.md"
      - "workshop/**/*.md"

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix workflow failure for Workshop Author: Learning GitHub Agentic Workflows Allow workshop author safe outputs to include top-level workshop markdown files Jul 10, 2026
Copilot AI requested a review from pelikhan July 10, 2026 16:28
@pelikhan pelikhan marked this pull request as ready for review July 10, 2026 16:37
@pelikhan pelikhan merged commit 1ea0789 into main Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Workshop Author: Learning GitHub Agentic Workflows failed

2 participants