Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
821f849
Initial plan
Copilot Dec 19, 2025
6961242
Add setup-activation action with dependencies
Copilot Dec 19, 2025
a669c58
Modify compiler to use setup-activation action with require()
Copilot Dec 19, 2025
b74fb48
Update actions README and test recompile with inline mode
Copilot Dec 19, 2025
4876a2e
Complete setup-activation action implementation
Copilot Dec 19, 2025
70cd4ed
Attach GitHub builtin objects to global before require()
Copilot Dec 19, 2025
6ccc3d3
Infer action mode from binary version tag
Copilot Dec 19, 2025
63d9091
Add sparse checkout of actions folder in dev mode
Copilot Dec 19, 2025
41884db
Replace Node.js file embedding with bash script in setup-safe-outputs…
Copilot Dec 19, 2025
40c5b63
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 19, 2025
000a94e
Merge main branch
Copilot Dec 19, 2025
e5c911c
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 19, 2025
2be388b
Merge main branch (second merge)
Copilot Dec 19, 2025
247e694
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 19, 2025
c6e77f6
Merge main and recompile workflows
Copilot Dec 19, 2025
648553a
Merge branch 'main' into copilot/create-custom-action-setup-activation
pelikhan Dec 19, 2025
e749fa9
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 20, 2025
0e7cbb1
Merge main branch (fourth merge)
Copilot Dec 20, 2025
e9e6591
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 20, 2025
1d7be6c
Merge main branch (fifth merge)
Copilot Dec 20, 2025
3deceda
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot Dec 20, 2025
762cc03
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 20, 2025
670905c
Merge main branch (sixth merge)
Copilot Dec 20, 2025
1bb062e
Rebuild setup-activation action with updated dependencies
Copilot Dec 20, 2025
2606afa
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot Dec 20, 2025
6a97b67
Convert setup-activation to shell script with no runtime dependencies
Copilot Dec 20, 2025
4aa713a
Merge branch 'main' into copilot/create-custom-action-setup-activation
pelikhan Dec 20, 2025
d1e6b22
Rebuild and recompile before merge
Copilot Dec 21, 2025
5e0560b
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 21, 2025
b27fa0d
Merge main branch (seventh merge)
Copilot Dec 21, 2025
3fc7118
Merge main branch (eighth merge)
Copilot Dec 22, 2025
90f7e0a
Merge main, format, and recompile workflows (eighth merge)
Copilot Dec 22, 2025
ada552c
Merge main, format, lint, and recompile (ninth merge)
Copilot Dec 22, 2025
f3dba14
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 22, 2025
50bc698
Merge main, format, lint, and recompile (tenth merge)
Copilot Dec 22, 2025
41c642f
Update dev.md to read issue and post poem in staged mode
Copilot Dec 22, 2025
2d7e835
Add isRelease/IsDev helper methods and use them for action mode checks
Copilot Dec 22, 2025
ab1b4ae
Recompile all workflows in dev mode with local action paths
Copilot Dec 22, 2025
98d4def
Add setup action to externalize all workflow job scripts
Copilot Dec 22, 2025
974b172
Use script registry to dynamically discover all .cjs files for setup …
Copilot Dec 22, 2025
35a9ba5
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot Dec 22, 2025
a68251e
Remove inline mode and externalize all scripts via setup-activation a…
Copilot Dec 22, 2025
e2af39b
Remove inline mode, default to dev mode with local action paths
Copilot Dec 22, 2025
90deb49
Rename action from setup-activation to setup
Copilot Dec 23, 2025
83c54f6
Rename step from "Setup Activation Scripts" to "Setup Scripts"
Copilot Dec 23, 2025
e8f58f7
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot Dec 23, 2025
29f4dd7
Convert conclusion and pre-activation jobs to use setup action with r…
Copilot Dec 23, 2025
81cee23
Convert agent and detection jobs to use setup action with require() c…
Copilot Dec 23, 2025
93a9d87
Migrate upload_assets, cache_memory, and repo_memory jobs to use setu…
Copilot Dec 23, 2025
589f6fc
Stage lock file changes before merge
Copilot Dec 23, 2025
8c03a56
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 23, 2025
b72a404
Merge main and recompile all workflows
Copilot Dec 23, 2025
5ce3c69
Fix action mode detection to use local paths for dev builds
Copilot Dec 23, 2025
ff4adfe
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 23, 2025
3436913
Merge main and recompile all workflows
Copilot Dec 23, 2025
fef3b0c
Fix setup action to pass INPUT_DESTINATION in composite action
Copilot Dec 23, 2025
bc94765
Change setup action destination to /tmp/gh-aw/actions/ and add constant
Copilot Dec 23, 2025
f9ccbd9
Add missing scripts to GetJavaScriptSources and setup action
Copilot Dec 23, 2025
7bfa7b6
Fix noop.cjs to use absolute path for load_agent_output require
Copilot Dec 23, 2025
b923e85
Export main function from scripts instead of calling it directly
Copilot Dec 23, 2025
60dd801
Fix noop.cjs embedded in setup.sh to use absolute path
Copilot Dec 23, 2025
34dad8e
Refactor setup action to copy files instead of embedding them
Copilot Dec 23, 2025
e203925
Commit actions/setup/js/ directory to fix sparse checkout workflows (…
Copilot Dec 23, 2025
7214a67
Convert safe_outputs job to use setup action and require mode (#7391)
Copilot Dec 23, 2025
09ce366
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 23, 2025
5fff659
Merge main and recompile all workflows
Copilot Dec 23, 2025
d88a156
Fix invalid runner ubuntu-slim to ubuntu-latest
Copilot Dec 23, 2025
3f9cea2
Fix setup action reference in safe_outputs jobs
Copilot Dec 23, 2025
641c9d1
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 23, 2025
dad048a
Merge main and recompile all workflows
Copilot Dec 23, 2025
88e670d
Export main from safe output scripts instead of auto-executing (#7409)
Copilot Dec 23, 2025
b02554c
Fix add_comment.cjs to use absolute paths for require statements
Copilot Dec 23, 2025
340474d
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 23, 2025
b92ebf3
Merge main, format, lint, and recompile all workflows
Copilot Dec 23, 2025
c51d14f
Merge remote-tracking branch 'origin/main' into copilot/create-custom…
Copilot Dec 23, 2025
f2150c6
Merge branch 'main' into copilot/create-custom-action-setup-activation
pelikhan Dec 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .changeset/patch-add-awmg-cli.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .changeset/patch-standardize-upload-asset.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
pkg/cli/workflows/*.lock.yml linguist-generated=true merge=ours
pkg/workflow/js/*.js linguist-generated=true
actions/*/index.js linguist-generated=true
actions/setup/js/*.cjs linguist-generated=true

.github/workflows/*.campaign.g.md linguist-generated=true merge=ours
2,834 changes: 110 additions & 2,724 deletions .github/workflows/agent-performance-analyzer.lock.yml

Large diffs are not rendered by default.

1,654 changes: 97 additions & 1,557 deletions .github/workflows/ai-moderator.lock.yml

Large diffs are not rendered by default.

2,451 changes: 141 additions & 2,310 deletions .github/workflows/archie.lock.yml

Large diffs are not rendered by default.

1,742 changes: 78 additions & 1,664 deletions .github/workflows/artifacts-summary.lock.yml

Large diffs are not rendered by default.

1,760 changes: 96 additions & 1,664 deletions .github/workflows/audit-workflows.lock.yml

Large diffs are not rendered by default.

1,742 changes: 78 additions & 1,664 deletions .github/workflows/blog-auditor.lock.yml

Large diffs are not rendered by default.

2,451 changes: 141 additions & 2,310 deletions .github/workflows/brave.lock.yml

Large diffs are not rendered by default.

1,570 changes: 93 additions & 1,477 deletions .github/workflows/breaking-change-checker.lock.yml

Large diffs are not rendered by default.

2,033 changes: 106 additions & 1,927 deletions .github/workflows/campaign-generator.lock.yml

Large diffs are not rendered by default.

3,263 changes: 117 additions & 3,146 deletions .github/workflows/campaign-manager.lock.yml

Large diffs are not rendered by default.

12,344 changes: 4,795 additions & 7,549 deletions .github/workflows/changeset.lock.yml

Large diffs are not rendered by default.

1,354 changes: 87 additions & 1,267 deletions .github/workflows/ci-coach.lock.yml

Large diffs are not rendered by default.

2,270 changes: 109 additions & 2,161 deletions .github/workflows/ci-doctor.lock.yml

Large diffs are not rendered by default.

1,513 changes: 78 additions & 1,435 deletions .github/workflows/cli-consistency-checker.lock.yml

Large diffs are not rendered by default.

1,522 changes: 87 additions & 1,435 deletions .github/workflows/cli-version-checker.lock.yml

Large diffs are not rendered by default.

12,236 changes: 4,676 additions & 7,560 deletions .github/workflows/cloclo.lock.yml

Large diffs are not rendered by default.

1,072 changes: 87 additions & 985 deletions .github/workflows/close-old-discussions.lock.yml

Large diffs are not rendered by default.

1,742 changes: 78 additions & 1,664 deletions .github/workflows/commit-changes-analyzer.lock.yml

Large diffs are not rendered by default.

1,751 changes: 87 additions & 1,664 deletions .github/workflows/copilot-agent-analysis.lock.yml

Large diffs are not rendered by default.

1,742 changes: 78 additions & 1,664 deletions .github/workflows/copilot-pr-merged-report.lock.yml

Large diffs are not rendered by default.

1,760 changes: 96 additions & 1,664 deletions .github/workflows/copilot-pr-nlp-analysis.lock.yml

Large diffs are not rendered by default.

1,751 changes: 87 additions & 1,664 deletions .github/workflows/copilot-pr-prompt-analysis.lock.yml

Large diffs are not rendered by default.

1,760 changes: 96 additions & 1,664 deletions .github/workflows/copilot-session-insights.lock.yml

Large diffs are not rendered by default.

13,470 changes: 5,402 additions & 8,068 deletions .github/workflows/craft.lock.yml

Large diffs are not rendered by default.

2,374 changes: 85 additions & 2,289 deletions .github/workflows/daily-assign-issue-to-user.lock.yml

Large diffs are not rendered by default.

570 changes: 62 additions & 508 deletions .github/workflows/daily-choice-test.lock.yml

Large diffs are not rendered by default.

1,751 changes: 87 additions & 1,664 deletions .github/workflows/daily-code-metrics.lock.yml

Large diffs are not rendered by default.

1,760 changes: 96 additions & 1,664 deletions .github/workflows/daily-copilot-token-report.lock.yml

Large diffs are not rendered by default.

1,354 changes: 87 additions & 1,267 deletions .github/workflows/daily-doc-updater.lock.yml

Large diffs are not rendered by default.

1,589 changes: 78 additions & 1,511 deletions .github/workflows/daily-fact.lock.yml

Large diffs are not rendered by default.

1,597 changes: 120 additions & 1,477 deletions .github/workflows/daily-file-diet.lock.yml

Large diffs are not rendered by default.

1,769 changes: 105 additions & 1,664 deletions .github/workflows/daily-firewall-report.lock.yml

Large diffs are not rendered by default.

2,132 changes: 112 additions & 2,020 deletions .github/workflows/daily-issues-report.lock.yml

Large diffs are not rendered by default.

866 changes: 69 additions & 797 deletions .github/workflows/daily-malicious-code-scan.lock.yml

Large diffs are not rendered by default.

1,522 changes: 87 additions & 1,435 deletions .github/workflows/daily-multi-device-docs-tester.lock.yml

Large diffs are not rendered by default.

1,760 changes: 96 additions & 1,664 deletions .github/workflows/daily-news.lock.yml

Large diffs are not rendered by default.

2,123 changes: 103 additions & 2,020 deletions .github/workflows/daily-performance-summary.lock.yml

Large diffs are not rendered by default.

1,760 changes: 96 additions & 1,664 deletions .github/workflows/daily-repo-chronicle.lock.yml

Large diffs are not rendered by default.

1,556 changes: 93 additions & 1,463 deletions .github/workflows/daily-team-status.lock.yml

Large diffs are not rendered by default.

1,345 changes: 78 additions & 1,267 deletions .github/workflows/daily-workflow-updater.lock.yml

Large diffs are not rendered by default.

1,769 changes: 105 additions & 1,664 deletions .github/workflows/deep-report.lock.yml

Large diffs are not rendered by default.

1,993 changes: 85 additions & 1,908 deletions .github/workflows/dependabot-go-checker.lock.yml

Large diffs are not rendered by default.

1,598 changes: 87 additions & 1,511 deletions .github/workflows/dev-hawk.lock.yml

Large diffs are not rendered by default.

4,433 changes: 448 additions & 3,985 deletions .github/workflows/dev.lock.yml

Large diffs are not rendered by default.

40 changes: 15 additions & 25 deletions .github/workflows/dev.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
---
on:
workflow_dispatch:
inputs:
issue_number:
description: Issue number to read
required: true
type: string
name: Dev
description: Test upload-asset with Python graph generation
description: Read an issue and post a poem about it
timeout-minutes: 5
strict: true
engine: copilot
Expand All @@ -11,38 +16,23 @@ permissions:
contents: read
issues: read

sandbox:
mcp:
port: 8080

tools:
github:
toolsets: [issues]

safe-outputs:
upload-asset:
allowed-exts: [".png", ".jpg"]
max: 5
create-issue:
title-prefix: "[Dev Test] "
staged: true
add-comment:
max: 1

imports:
- shared/gh.md
- shared/python-dataviz.md
---

# Test Upload Asset with Python Graph Generation
# Read Issue and Post Poem

Create a dummy graph using Python and matplotlib, then upload it as an asset.
Read a single issue and post a poem about it as a comment in staged mode.

**Requirements:**
1. Use Python to create a simple graph (e.g., a sine wave or bar chart) using matplotlib
2. Save the graph as a PNG file to /tmp/graph.png
3. Use the `upload_asset` tool to upload the graph
4. The tool should return a URL where the graph can be accessed
5. Create an issue that includes the graph using markdown image syntax
6. Verify that:
- The graph file was created successfully
- The asset was uploaded and a URL was returned
- The issue was created with the embedded graph image
1. Read the issue specified by the `issue_number` input
2. Understand the issue's title, body, and context
3. Write a creative poem inspired by the issue content
4. Post the poem as a comment on the issue using `create_issue_comment` in staged mode
5. The poem should be relevant, creative, and engaging
Loading
Loading