Skip to content
Merged
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
34 changes: 34 additions & 0 deletions .github/workflows/copilot-autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# .github/workflows/copilot-autofix.yml (in consumer repo)
name: Copilot Dependency Autofix

on:
workflow_dispatch:
inputs:
PACKAGE_NAME:
description: "npm package name (e.g. aws-sdk)"
required: true
type: string
FIXED_VERSION:
description: "Target fixed version (e.g. 3.0.1)"
required: true
type: string

permissions:
contents: write
pull-requests: write

concurrency:
group: copilot-autofix-${{ github.ref }}-${{ inputs.package_name }}
cancel-in-progress: true

jobs:
copilot-autofix:
runs-on: activitystream-service-runner-scale-set
timeout-minutes: 45
steps:
- uses: scheduleonce/github-workflows/.github/actions/copilot-dependency-autofix@main
with:
PACKAGE_NAME: ${{ inputs.PACKAGE_NAME }}
FIXED_VERSION: ${{ inputs.FIXED_VERSION }}
SO_INTEGRATION_TOKEN: ${{ secrets.SO_INTEGRATION_TOKEN }}
COPILOT_GITHUB_TOKEN: ${{ secrets.DEEPAK_TOKEN_POC }}