Skip to content

revert: drop workflow write actions - #131

Merged
JounQin merged 1 commit into
mainfrom
revert/workflow-actions
Nov 10, 2026
Merged

JounQin merged 1 commit into
mainfrom
revert/workflow-actions

Conversation

@JounQin

@JounQin JounQin commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Revert #130.

gh workflow run|enable|disable are repository automation administration actions, not part of the agent credential path. Adding them only because #85 lists a whole workflow domain grants broad actions: write capability without a demonstrated use case, which conflicts with the catalog's curated, least-privilege design.

This restores the catalog and README table to the state before #130. The workflow:list/workflow:view read actions remain. Likewise, the uncommitted release:create/release:delete changes were discarded rather than opened as a PR.

#85 is an audit inventory, not a mandate to implement every source command; the remaining P2 domains should stay unplanned until a concrete agent workflow needs one.

Summary by CodeRabbit

  • Changes
    • Workflow run, enable, and disable are no longer available as built-in actions.
    • Workflow listing and viewing remain available.
    • The permissions documentation no longer lists requirements for workflow run, enable, or disable actions.

@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The PR removes workflow:run, workflow:enable, and workflow:disable from the built-in action catalog. It also removes their permission documentation, tests, and changeset.

Changes: Workflow mutation action removal

Layer / File(s) Summary
Remove workflow mutation actions
packages/core/src/actions.ts, test/unit/actions.test.ts, README.md, .changeset/workflow-actions.md
The action definitions, catalog entries, permission assertions, and argument tests for the three workflow mutation actions are removed. The README permission entries and changeset are also removed. workflow:list and workflow:view remain cataloged.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related PRs

Suggested reviewers: i1stg

Merge Risk: Minimal · up to 12818

This revert removes the workflow run, enable and disable actions and their documentation. It narrows the permissions the catalog exposes, and no merge-blocking risk was identified.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly states that the pull request removes the workflow write actions, which is the main change.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files.

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9b0c75d6-7d88-4c4f-adeb-91a7334ff52b
Commits

Reviewing files that changed from the base of the PR and between b666c6f and 128187a.

Files selected for processing: 4

  • .changeset/workflow-actions.md
  • README.md
  • packages/core/src/actions.ts
  • test/unit/actions.test.ts
Files with no reviewable changes: 4

  • .changeset/workflow-actions.md
  • test/unit/actions.test.ts
  • README.md
  • packages/core/src/actions.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@JounQin
JounQin merged commit bd2c8de into main Nov 10, 2026
6 of 7 checks passed
@JounQin
JounQin deleted the revert/workflow-actions branch November 10, 2026 05:50
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.

1 participant