Skip to content

[instructions] Sync github-agentic-workflows.md with v0.40.1#19470

Merged
pelikhan merged 2 commits intomainfrom
sync-instructions-v0.40.1-f6541ff7da9ed7e5
Mar 4, 2026
Merged

[instructions] Sync github-agentic-workflows.md with v0.40.1#19470
pelikhan merged 2 commits intomainfrom
sync-instructions-v0.40.1-f6541ff7da9ed7e5

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 3, 2026

Instructions Update - Synchronized with v0.40.1

This PR updates github-agentic-workflows.md based on code audit against the v0.40.1 release state.

Changes Made

  • add-comment: Added issues and pull-requests permission control fields (parallel to existing discussions: false pattern). These allow workflows using custom GitHub App tokens to exclude issues:write or pull-requests:write permissions when not needed.
  • create-pull-request: Added allow-empty field (allows creating a PR with an empty branch without requiring an initial patch — useful for preparing feature branches).
  • create-pull-request: Clarified fallback-as-issue comment to reflect that on permission errors, the fallback issue now includes a one-click compare URL link so users can manually create the PR.

Documentation Commits Reviewed

  • 99b2107 create_pull_request: create fallback issue with one-click PR link on permission error

Validation

  • Followed prompting best practices (imperative mood, minimal examples)
  • Maintained technical tone and brevity
  • Updated only necessary sections
  • Verified accuracy against current codebase (pkg/workflow/add_comment.go, pkg/parser/schemas/main_workflow_schema.json, actions/setup/js/create_pull_request.cjs)
  • Removed outdated or redundant content (none found)

Generated by Instructions Janitor ·

  • expires on Mar 5, 2026, 11:59 PM UTC

- Add `issues` and `pull-requests` fields to `add-comment` config
  (parallel to existing `discussions` field for permission exclusion)
- Add `allow-empty` field to `create-pull-request` config
- Clarify `fallback-as-issue` behavior: on permission errors, fallback
  issue now includes a one-click link to create the PR via compare URL

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added automation documentation Improvements or additions to documentation instructions labels Mar 3, 2026
@pelikhan pelikhan merged commit c5eef9e into main Mar 4, 2026
@pelikhan pelikhan deleted the sync-instructions-v0.40.1-f6541ff7da9ed7e5 branch March 4, 2026 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation instructions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants