Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT_TOKEN }}
token: ${{ secrets.PAT_PASSWORD }}
# - uses: hmarr/debug-action@v2
- name: Run command handlers
uses: PrismarineJS/prismarine-repo-actions@master
with:
token: ${{ secrets.PAT_TOKEN }}
token: ${{ secrets.PAT_PASSWORD }}
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ Commands can be enabled/disabled by setting the `/$command.enabled` property to
<td><code>"npm install"</code></td>
<td>What command to run to install the repo if the command requires installing it</td>
</tr>
<tr>
<td>/ai.enabled</td>
<td><code>true</code></td>
<td>Whether or not to enable the `/ai` command</td>
</tr>
<tr>
<td>/makerelease.enabled</td>
<td><code>true</code></td>
Expand Down Expand Up @@ -111,6 +116,12 @@ Commands can be enabled/disabled by setting the `/$command.enabled` property to
</table>

## Commands
* /ai <prompt>
* Create a GitHub Copilot Agent task to work on an issue or pull request
* The command automatically includes the PR/issue URL as context
* For PRs where both source and target branches are in the same repo, the agent will work on the source branch
* Example: `/ai fix the failing tests`
* Example: `/ai add documentation for the new feature`
* /makerelease [release version]
* Make a release PR (Node.js and Python projects) on projects that have a HISTORY.md file like [this](https://github.com/PrismarineJS/mineflayer/blob/master/docs/history.md)
* This command creates a new PR with a modified HISTORY.md adding a section with the latest commits since the last release and if they exist, updates the package.json (Node.js) or setup.py/pyproject.toml (Python) manifest files.
Expand Down
Loading