From 04c568f4887e2615b94735d45b7384618fad5aef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Verstraeten?= Date: Mon, 16 Feb 2026 11:54:07 +0100 Subject: [PATCH] Add workflow to create user story issues with customizable inputs --- .github/workflows/issue-userstory-create.yml | 51 ++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/issue-userstory-create.yml diff --git a/.github/workflows/issue-userstory-create.yml b/.github/workflows/issue-userstory-create.yml new file mode 100644 index 0000000..0ae771b --- /dev/null +++ b/.github/workflows/issue-userstory-create.yml @@ -0,0 +1,51 @@ +name: Create User Story Issue +on: + workflow_dispatch: + inputs: + issue_title: + description: 'Title for the issue' + required: true + issue_description: + description: 'Brief description of the feature' + required: true + complexity: + description: 'Complexity of the feature' + required: true + type: choice + options: + - 'Low' + - 'Medium' + - 'High' + default: 'Medium' + duration: + description: 'Estimated duration' + required: true + type: choice + options: + - '1 day' + - '3 days' + - '1 week' + - '2 weeks' + - '1 month' + default: '1 week' + +jobs: + create-issue: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: Create Issue with User Story + uses: cedricve/llm-create-issue-user-story@main + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + azure_openai_api_key: ${{ secrets.AZURE_OPENAI_API_KEY }} + azure_openai_endpoint: ${{ secrets.AZURE_OPENAI_ENDPOINT }} + azure_openai_version: ${{ secrets.AZURE_OPENAI_VERSION }} + openai_model: 'gpt-4o' + issue_title: ${{ github.event.inputs.issue_title }} + issue_description: ${{ github.event.inputs.issue_description }} + complexity: ${{ github.event.inputs.complexity }} + duration: ${{ github.event.inputs.duration }} + labels: 'user-story,feature' + assignees: ${{ github.actor }} \ No newline at end of file