mirror of
https://github.com/github/awesome-copilot.git
synced 2026-04-30 12:15:56 +00:00
feat(skills): add IoT edge skills and align agent/instruction docs (#1431)
* feat(skills): add IoT edge skills and align agent/instruction docs * fix(ci): handle fork permission errors in plugin structure check * fix(ci): allow intentional Spanish vocabulary in codespell * docs(skills): translate IoT edge skill content to English * fix(ci): pass codespell and README validation * chore: regenerate skills index after merge
This commit is contained in:
32
.github/workflows/check-plugin-structure.yml
vendored
32
.github/workflows/check-plugin-structure.yml
vendored
@@ -153,13 +153,31 @@ jobs:
|
||||
'```',
|
||||
].join('\n');
|
||||
|
||||
await github.rest.pulls.createReview({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
pull_number: context.issue.number,
|
||||
event: 'REQUEST_CHANGES',
|
||||
body
|
||||
});
|
||||
let reviewPosted = false;
|
||||
|
||||
if (!isFork) {
|
||||
try {
|
||||
await github.rest.pulls.createReview({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
pull_number: context.issue.number,
|
||||
event: 'REQUEST_CHANGES',
|
||||
body
|
||||
});
|
||||
reviewPosted = true;
|
||||
} catch (error) {
|
||||
core.warning(
|
||||
`Could not create PR review (continuing with failure report): ${error.message}`
|
||||
);
|
||||
}
|
||||
} else {
|
||||
core.warning('PR is from a fork; skipping createReview to avoid permission errors.');
|
||||
}
|
||||
|
||||
if (!reviewPosted) {
|
||||
core.warning('Materialized plugin issues detected. Full details:');
|
||||
core.warning(body);
|
||||
}
|
||||
|
||||
core.setFailed('Plugin directories contain materialized files or symlinks that should not be on staged');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user