Skip to content

Commit ee25c4b

Browse files
authored
Update auto-label-goose_root.yml
1 parent bce7fe5 commit ee25c4b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/auto-label-goose_root.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,14 @@ jobs:
4141
# echo $ISSUE_NUMBER > $HOME/issue_no.txt
4242
# echo $REPOSITORY
4343
44-
- name: Run Goose with github extension
44+
- name: Run Goose with github extension for Issues
45+
if: github.event_name != 'pull_request'
4546
run: |
4647
source ~/.bashrc
4748
goose run --with-builtin "developer,computercontroller,memory" --with-extension "GITHUB_PERSONAL_ACCESS_TOKEN=${{ secrets.PAT_DEVDAPPAI }} npx -y @modelcontextprotocol/server-github" --instructions $HOME/devdapp-bot/instruction-file/auto_label_test.md
49+
50+
- name: Run Goose with github extension for Pull Requests
51+
if: github.event_name == 'pull_request'
52+
run: |
53+
source ~/.bashrc
54+
goose run --with-builtin "developer,computercontroller,memory" --with-extension "GITHUB_PERSONAL_ACCESS_TOKEN=${{ secrets.PAT_DEVDAPPAI }} npx -y @modelcontextprotocol/server-github" --instructions $HOME/devdapp-bot/instruction-file/auto_label_test2.md

0 commit comments

Comments
 (0)