Skip to content

fix: add protected-files: allowed for traffic CSV updates#36

Merged
DanWahlin merged 1 commit intomainfrom
fix/protected-files-allowed
Mar 31, 2026
Merged

fix: add protected-files: allowed for traffic CSV updates#36
DanWahlin merged 1 commit intomainfrom
fix/protected-files-allowed

Conversation

@DanWahlin
Copy link
Copy Markdown
Collaborator

The allowed-files and protected-files checks in gh-aw are orthogonal — both must pass independently. Since the CSV files live under .github/ (a protected path prefix), we need protected-files: allowed in addition to allowed-files to permit modifications.

The allowed-files and protected-files checks are orthogonal — both must
pass independently. Adding protected-files: allowed permits the workflow
to modify files under .github/ that are listed in allowed-files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 31, 2026 21:55
@DanWahlin DanWahlin merged commit bb7d47f into main Mar 31, 2026
5 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the gh-aw safe-outputs configuration for the Traffic Updater workflow so it can continue to update the traffic CSV files under the protected .github/ path prefix.

Changes:

  • Add protected-files: allowed to the workflow frontmatter safe-outputs config for create-pull-request.
  • Regenerate the compiled workflow (traffic-updater.lock.yml) so the safe-outputs handler/config includes protected_files_policy: "allowed".

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/traffic-updater.md Adds protected-files: allowed to permit edits to allowed CSVs under a protected path prefix.
.github/workflows/traffic-updater.lock.yml Compiled output updated to reflect the new protected-files policy in generated safe-outputs config/handler.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants