Skip to content

Refresh GitHub Actions schema and preserve drives permission - #54845

Merged
pelikhan merged 2 commits into
mainfrom
copilot/review-github-actions-schema-refresh-again
Aug 22, 2026
Merged

Refresh GitHub Actions schema and preserve drives permission#54845
pelikhan merged 2 commits into
mainfrom
copilot/review-github-actions-schema-refresh-again

Conversation

Copilot AI commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Refreshes the embedded GitHub Actions workflow schema while keeping the not-yet-public drives permission stable through the local schema patch path.

  • Schema refresh

    • Updates pkg/workflow/schemas/github-workflow.json from the upstream GitHub Actions schema.
    • Keeps the locally patched permission set intact.
  • drives permission stability

    • Ensures drives remains accepted as a GitHub Actions permission even while absent from the public schema.
    • Adds regression coverage for workflow schema validation:
permissions:
  drives: write
  • Generated artifacts
    • Recompiled generated workflow artifacts repeatedly to confirm the refresh is stable.

Copilot AI and others added 2 commits August 22, 2026 14:57
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan August 22, 2026 15:07
@pelikhan
pelikhan marked this pull request as ready for review August 22, 2026 15:07
Copilot AI balanced review requested due to automatic review settings August 22, 2026 15:07
@pelikhan
pelikhan merged commit ad877a8 into main Aug 22, 2026
7 checks passed
@pelikhan
pelikhan deleted the copilot/review-github-actions-schema-refresh-again branch August 22, 2026 15:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Refreshes the embedded GitHub Actions schema while preserving experimental drives permission validation.

Changes:

  • Retains drives through the local schema patch.
  • Adds regression coverage for job-level drives: write.
  • Regenerates slash-command routing for smoke-drive.
Show a summary per file
File Description
pkg/workflow/schemas/github-workflow.json Preserves the drives permission.
pkg/workflow/schema_validation_test.go Tests drives schema acceptance.
.github/workflows/agentic_commands.yml Registers the generated smoke-drive route.

Review details

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.87.5

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.

3 participants