Skip to content

Commit 14d6793

Browse files
Copilotpelikhan
andauthored
fix: rename token input to github-token in shared/gh-skill.md
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/2e3aed40-f0c6-4049-b31b-f9dfdd036185 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 27f3d27 commit 14d6793

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/shared/gh-skill.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# - uses: shared/gh-skill.md
1414
# with:
1515
# engine: copilot # optional: copilot (default), claude, codex, gemini, opencode
16-
# token: ${{ secrets.MY_TOKEN }} # optional: defaults to GITHUB_TOKEN
16+
# github-token: ${{ secrets.MY_TOKEN }} # optional: defaults to GITHUB_TOKEN
1717
# upstream: false # optional: pass false to skip --upstream (default: true)
1818
# skills:
1919
# - github/awesome-copilot/documentation-writer
@@ -36,7 +36,7 @@ import-schema:
3636
Examples: "github/awesome-copilot", "github/awesome-copilot/documentation-writer",
3737
"github/awesome-copilot/code-review@v1.2.0"
3838
39-
token:
39+
github-token:
4040
type: string
4141
required: false
4242
description: >
@@ -68,7 +68,7 @@ import-schema:
6868
pre-agent-steps:
6969
- name: Install agent skills
7070
env:
71-
GH_TOKEN: ${{ github.aw.import-inputs.token || secrets.GITHUB_TOKEN }}
71+
GH_TOKEN: ${{ github.aw.import-inputs.github-token || secrets.GITHUB_TOKEN }}
7272
GH_AW_SKILLS: ${{ github.aw.import-inputs.skills }}
7373
GH_AW_SKILL_ENGINE: ${{ github.aw.import-inputs.engine }}
7474
GH_AW_SKILL_UPSTREAM: ${{ github.aw.import-inputs.upstream }}
@@ -169,7 +169,7 @@ imports:
169169
|-------|----------|-------------|
170170
| `skills` | ✅ | List of skills to install (see formats below) |
171171
| `engine` | No | gh-aw engine name — determines the `--agent` target (default: `copilot`) |
172-
| `token` | No | GitHub token for downloading skills (default: built-in `GITHUB_TOKEN`) |
172+
| `github-token` | No | GitHub token for downloading skills (default: built-in `GITHUB_TOKEN`) |
173173
| `upstream` | No | Pass `false` to skip `--upstream` and use the cached version (default: `true`) |
174174
175175
### Skill format
@@ -204,7 +204,7 @@ Uses the token provided via the `token` input, falling back to the built-in
204204
imports:
205205
- uses: shared/gh-skill.md
206206
with:
207-
token: ${{ secrets.MY_SKILLS_TOKEN }}
207+
github-token: ${{ secrets.MY_SKILLS_TOKEN }}
208208
skills:
209209
- my-org/private-skills/my-skill
210210
```

0 commit comments

Comments
 (0)