Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: add the start workspace workflow#17002

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kylecarbs merged 1 commit intomainfromhugodutka/start-workspace-workflow
Mar 19, 2025
Merged
Changes fromall 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
32 changes: 32 additions & 0 deletions.github/workflows/start-workspace.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
name: Start Workspace On Issue Creation or Comment

on:
issues:
types: [opened]
issue_comment:
types: [created]

permissions:
issues: write

jobs:
comment:
runs-on: ubuntu-latest
environment: aidev
timeout-minutes: 5
steps:
- name: Start Coder workspace
uses: coder/start-workspace-action@26d3600161d67901f24d8612793d3b82771cde2d
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
trigger-phrase: "@coder"
coder-url: ${{ secrets.CODER_URL }}
coder-token: ${{ secrets.CODER_TOKEN }}
template-name: ${{ secrets.CODER_TEMPLATE_NAME }}
workspace-name: issue-${{ github.event.issue.number }}
parameters: |-
Coder Image: codercom/oss-dogfood:latest
Coder Repository Base Directory: "~"
AI Code Prompt: "Use the gh CLI tool to read the details of issue https://github.com/${{ github.repository }}/issues/${{ github.event.issue.number }} and then address it."
Region: us-pittsburgh
user-mapping: ${{ secrets.CODER_USER_MAPPING }}
Loading

[8]ページ先頭

©2009-2025 Movatter.jp