From f426f56bb64a55b4bebefd0b6cc8a9f881bc870a Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 6 Feb 2026 02:58:37 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B1=20Sync=20workflows=20from=20kubest?= =?UTF-8?q?ellar/infra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ai-fix.yml | 26 +++++++++++++++++++++ .github/workflows/copilot-automation.yml | 29 ++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .github/workflows/ai-fix.yml create mode 100644 .github/workflows/copilot-automation.yml diff --git a/.github/workflows/ai-fix.yml b/.github/workflows/ai-fix.yml new file mode 100644 index 00000000..47b3218a --- /dev/null +++ b/.github/workflows/ai-fix.yml @@ -0,0 +1,26 @@ +name: AI Fix with Copilot + +on: + workflow_dispatch: + inputs: + issue_number: + description: Issue number to assign to Copilot + required: true + type: string + issues: + types: [labeled] + pull_request_target: + types: [opened] + +permissions: + contents: write + issues: write + pull-requests: write + +jobs: + ai-fix: + uses: kubestellar/infra/.github/workflows/reusable-ai-fix.yml@main + with: + issue_number: ${{ github.event.inputs.issue_number || '' }} + secrets: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/copilot-automation.yml b/.github/workflows/copilot-automation.yml new file mode 100644 index 00000000..0296b204 --- /dev/null +++ b/.github/workflows/copilot-automation.yml @@ -0,0 +1,29 @@ +name: Copilot PR Automation + +on: + workflow_dispatch: + inputs: + pr_number: + description: PR number to process + required: true + type: string + pull_request_target: + types: [opened, synchronize, ready_for_review] + +permissions: + contents: write + pull-requests: write + issues: write + statuses: write + +concurrency: + group: copilot-automation-${{ github.event.pull_request.number || github.event.inputs.pr_number || github.sha }} + cancel-in-progress: true + +jobs: + copilot-automation: + uses: kubestellar/infra/.github/workflows/reusable-copilot-automation.yml@main + with: + pr_number: ${{ github.event.inputs.pr_number || '' }} + secrets: + token: ${{ secrets.GITHUB_TOKEN }}