* convert an example that doesn't matter * migrate some services from examples to openApi * improve and de-dupe service titles * revert changes to codefactor
29 lines
730 B
JavaScript
29 lines
730 B
JavaScript
import { BaseService } from '../index.js'
|
|
|
|
export default class DeprecatedGithubWorkflowStatus extends BaseService {
|
|
static category = 'build'
|
|
|
|
static route = {
|
|
base: 'github/workflow/status',
|
|
pattern: ':various+',
|
|
}
|
|
|
|
static openApi = {}
|
|
|
|
static defaultBadgeData = { label: 'build' }
|
|
|
|
async handle() {
|
|
return {
|
|
label: 'build',
|
|
message: 'https://github.com/badges/shields/issues/8671',
|
|
/*
|
|
This is a 'special' deprecation because we are making a breaking change
|
|
We've implemented it as a custom class instead of a normal
|
|
deprecatedService so that we can include link.
|
|
*/
|
|
link: ['https://github.com/badges/shields/issues/8671'],
|
|
color: 'red',
|
|
}
|
|
}
|
|
}
|