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
26 changes: 26 additions & 0 deletions .github/workflows/ai-fix.yml
Original file line number Diff line number Diff line change
@@ -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 }}
Comment on lines +25 to +26
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The secret passing pattern used here is inconsistent with other workflows in this repository. All other reusable workflow calls from kubestellar/infra use secrets: inherit instead of explicitly passing token: ${{ secrets.GITHUB_TOKEN }}. This should be changed to maintain consistency with the established pattern in the codebase. Update the secrets section to use secrets: inherit instead of the explicit token parameter.

Copilot uses AI. Check for mistakes.
29 changes: 29 additions & 0 deletions .github/workflows/copilot-automation.yml
Original file line number Diff line number Diff line change
@@ -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 }}
Comment on lines +28 to +29
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The secret passing pattern used here is inconsistent with other workflows in this repository. All other reusable workflow calls from kubestellar/infra use secrets: inherit instead of explicitly passing token: ${{ secrets.GITHUB_TOKEN }}. This should be changed to maintain consistency with the established pattern in the codebase. Update the secrets section to use secrets: inherit instead of the explicit token parameter.

Copilot uses AI. Check for mistakes.