Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 6, 2026

Documentation for create-project-status-update Safe Output

Changes Made

  • Removed "(max: 1, same-repo only)" text from the list item for create-project-status-update

Rationale

The create-project-status-update safe output accepts full project URLs (e.g., https://github.com/orgs/myorg/projects/73) which can point to any organization or user's project. It is not restricted to same-repo operations since:

  1. The implementation accepts any project URL (any org/user)
  2. It doesn't have the target-repo field restriction
  3. The detailed documentation section doesn't mention "same-repo only"
  4. It works similarly to copy-project which is marked as "cross-repo"

Documentation Locations

  1. Primary Reference: /docs/src/content/docs/reference/safe-outputs.md (lines 322-390)
  2. Campaign Guide: /docs/src/content/docs/guides/campaigns/project-management.md (Project Status Updates section)
  3. Implementation: /actions/setup/js/create_project_status_update.cjs

Example Usage

safe-outputs:
  create-project-status-update:
    max: 1
    github-token: ${{ secrets.GH_AW_PROJECT_GITHUB_TOKEN }}
create-project-status-update:
  project: "https://github.com/orgs/myorg/projects/73"
  status: "ON_TRACK"
  start_date: "2026-01-06"
  target_date: "2026-01-31"
  body: |
    ## Campaign Run Summary
    **Discovered:** 25 items (15 issues, 10 PRs)
    **Processed:** 10 items added to project
    **Completion:** 60% (30/50 total tasks)
Original prompt

Add docs for new safe output create-project-status-update.

Custom agent used: technical-doc-writer
AI technical documentation writer for GitHub Actions library using Astro Starlight and GitHub Docs voice


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add documentation for create-project-status-update output Merge main branch - documentation for create-project-status-update already complete Jan 6, 2026
Copilot AI requested a review from mnkiefer January 6, 2026 14:20
@mnkiefer
Copy link
Contributor

mnkiefer commented Jan 6, 2026

@copilot: Remove extra text "(max: 1, same-repo only)".

@mnkiefer mnkiefer marked this pull request as ready for review January 6, 2026 14:23
Copy link
Contributor Author

Copilot AI commented Jan 6, 2026

@copilot: Remove extra text "(max: 1, same-repo only)".

Done in commit 92a1047. Removed "(max: 1, same-repo only)" text from the list item.

The create-project-status-update safe output accepts full project URLs (e.g., https://github.com/orgs/myorg/projects/73) and can target any organization or user's project, so it is not restricted to same-repo operations.

@mnkiefer mnkiefer merged commit 67a6159 into main Jan 6, 2026
45 checks passed
@mnkiefer mnkiefer deleted the copilot/add-docs-create-project-status-update branch January 6, 2026 14:32
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