-
Notifications
You must be signed in to change notification settings - Fork 0
Add token configuration and workflow creation documentation for agentic workflows #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add token configuration and workflow creation documentation for agentic workflows #4
Conversation
Co-authored-by: pelikhan <[email protected]>
Co-authored-by: pelikhan <[email protected]>
Co-authored-by: pelikhan <[email protected]>
README.md
Outdated
|
|
||
| Follow these steps to set up GitHub Copilot in your agentic workflows: | ||
|
|
||
| #### 1. Install the GitHub Agentic Workflows CLI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot this step is preconfigured, remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed CLI installation step in commit 5a3291c
README.md
Outdated
| ./install-gh-aw.sh | ||
| ``` | ||
|
|
||
| #### 2. Create a Personal Access Token for Copilot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot this step is mandatory, move up as the first thing to do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved PAT creation to be step 1 in commit 5a3291c
README.md
Outdated
| - **Permissions**: Select "Copilot Requests" (required) | ||
| 3. Generate the token and copy it | ||
|
|
||
| #### 3. Set the Copilot Token as a Repository Secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot give instructions using the github web site, not the gh cli
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to use GitHub website instructions for setting secrets in commit 5a3291c
README.md
Outdated
| echo "YOUR_COPILOT_PAT" | gh aw secrets set COPILOT_GITHUB_TOKEN | ||
| ``` | ||
|
|
||
| #### 4. (Optional) Configure Additional Tokens |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot do not give instructions using gh cli the audience uses dotcom only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replaced gh CLI instructions with GitHub website steps in commit 5a3291c
README.md
Outdated
| - For Organization-owned Projects (option 1): Classic PAT with `project` + `read:org` scopes | ||
| - For Organization-owned Projects (option 2): Fine-grained PAT with explicit Organization access + Projects: Read+Write | ||
|
|
||
| ### Security Best Practices |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot remove section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed Security Best Practices section in commit 5a3291c
…e CLI installation and security section Co-authored-by: pelikhan <[email protected]>
README.md
Outdated
| - For Organization-owned Projects (option 1): Classic PAT with `project` + `read:org` scopes | ||
| - For Organization-owned Projects (option 2): Fine-grained PAT with explicit Organization access + Projects: Read+Write | ||
|
|
||
| ### Example Workflow Using Copilot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot remove section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed "Example Workflow Using Copilot" section in commit 1f45b88
README.md
Outdated
|
|
||
| This will generate `.github/workflows/copilot-helper.lock.yml`, which is the actual GitHub Actions workflow file that will run. | ||
|
|
||
| ## Next Steps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot remove this section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed "Next Steps" section in commit 1f45b88
| ``` | ||
|
|
||
| This will generate `.github/workflows/copilot-helper.lock.yml`, which is the actual GitHub Actions workflow file that will run. | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot add a section that tells the user how to use the "create new agentic task", select the "create-agentic-workflow" custom agent and ask to create a new workflow. Also add section on how to use the debug-agentic-workflow + github url to improve debug agents.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added "Creating Workflows" section with create-agentic-workflow agent instructions and "Debugging and Improving Workflows" section with debug-agentic-workflow + GitHub URL instructions in commit 1f45b88
…n and debugging sections Co-authored-by: pelikhan <[email protected]>
README.md
Outdated
| - **For agent assignment operations**: Create a secret named `GH_AW_AGENT_TOKEN` | ||
| - **For GitHub Projects v2 operations**: Create a secret named `GH_AW_PROJECT_GITHUB_TOKEN` | ||
|
|
||
| ### Token Types and Permissions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot remove section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed "Token Types and Permissions" section in commit 344a114
Co-authored-by: pelikhan <[email protected]>
The README lacked instructions for configuring repository secrets needed to run agentic workflows with Copilot and other engines, as well as guidance on creating and debugging workflows.
Changes
Creating Workflows
Users can now create workflows through the GitHub web UI:
Debugging Workflows
Users can debug failed workflows:
All instructions use the GitHub website interface exclusively, making it accessible to users who only use GitHub.com. The README is streamlined and concise, focusing on getting started quickly without detailed technical reference material.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.