mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-15 05:40:47 +08:00
* ci(gh-aw): upgrade agentic workflows to v0.89.1 Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com> * Apply batched suggestions from code review There's an explicit `with` property of setting up agentic workflow CLI, it should also be bumped. Co-authored-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com> --------- Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com>
37 lines
1022 B
YAML
37 lines
1022 B
YAML
name: "Copilot Setup Steps"
|
|
|
|
# This workflow configures the environment for GitHub Copilot Agent with gh-aw MCP server
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- .github/workflows/copilot-setup-steps.yml
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
# The job MUST be called 'copilot-setup-steps' to be recognized by GitHub Copilot Agent
|
|
copilot-setup-steps:
|
|
name: Copilot Setup Steps
|
|
runs-on: ubuntu-latest
|
|
|
|
# Set minimal permissions for setup steps
|
|
# Copilot Agent receives its own token with appropriate permissions
|
|
permissions:
|
|
contents: read
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- name: Install gh-aw extension
|
|
uses: github/gh-aw-actions/setup-cli@4537e5924c9abb366dcbece06750e498e0218fae # v0.89.1
|
|
with:
|
|
version: v0.89.1
|