Commit cb49b15
Fix state-machine workflow: add protected-files: allowed for .github/docs/ output
The agentic-state-machine workflow has been failing since PR #19721 moved
the output to .github/docs/state-machine.md. Files under .github/ are
treated as protected by gh-aw (agent instruction files, security config).
The allowed-files config permits WHICH files can be modified but does not
override the built-in protected-files blocking. Adding protected-files:
allowed explicitly opts in, which is safe since allowed-files already
restricts writes to .github/docs/** only.
Fixes #19739
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ccaa44a commit cb49b15
2 files changed
Lines changed: 18 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments