Files
shields/services/github/github-workflow-status.service.js
chris48s b2f47a3303 migrate examples to openApi part 2; affects [archlinux bitcomponents bountysource cdnjs chrome clearlydefined clojars cocoapods coincap] (#9428)
* convert an example that doesn't matter

* migrate some services from examples to openApi

* improve and de-dupe service titles

* revert changes to codefactor
2023-08-08 23:57:47 +00:00

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',
}
}
}