mirror of
https://github.com/github/awesome-copilot.git
synced 2026-06-17 13:11:27 +00:00
chore: publish from staged
This commit is contained in:
@@ -63,6 +63,10 @@ jobs:
|
||||
'workflow': {
|
||||
color: 'BFD4F2',
|
||||
description: 'PR touches workflow automation'
|
||||
},
|
||||
'canvas-extension': {
|
||||
color: 'E4B9FF',
|
||||
description: 'PR touches canvas extensions'
|
||||
}
|
||||
};
|
||||
|
||||
@@ -139,12 +143,16 @@ jobs:
|
||||
/^workflows\/.+\.md$/,
|
||||
/^\.github\/workflows\/.+\.(?:ya?ml|md)$/
|
||||
],
|
||||
canvasExtension: [
|
||||
/^extensions\/[^/]+\//
|
||||
],
|
||||
newSubmission: [
|
||||
/^agents\/.+\.agent\.md$/,
|
||||
/^instructions\/.+\.instructions\.md$/,
|
||||
/^skills\/[^/]+\/SKILL\.md$/,
|
||||
/^hooks\/[^/]+\/(?:README\.md|hooks\.json)$/,
|
||||
/^plugins\/[^/]+\/\.github\/plugin\/plugin\.json$/,
|
||||
/^extensions\/[^/]+\/extension\.mjs$/,
|
||||
/^workflows\/.+\.md$/,
|
||||
/^\.github\/workflows\/.+\.(?:ya?ml|md)$/,
|
||||
/^website\//
|
||||
@@ -197,6 +205,10 @@ jobs:
|
||||
desiredLabels.add('workflow');
|
||||
}
|
||||
|
||||
if (filenames.some((filename) => matchesAny(filename, patterns.canvasExtension))) {
|
||||
desiredLabels.add('canvas-extension');
|
||||
}
|
||||
|
||||
if (hasNewSubmission) {
|
||||
desiredLabels.add('new-submission');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user